Re: [sage-support] Quickly compute signs of eigenvalues

2013-05-21 Thread Jeroen Demeyer
On 05/22/2013 12:24 AM, Michael Orlitzky wrote: Singular (included in sage) has a library that can quickly count the number of real roots in an interval: http://mate.dm.uba.ar/~alidick/etobis/rrc.pdf I don't see an easy way to interface with it, but you could probably come up with something

Re: [sage-support] Re: Best way to plot a direction field and solution curve

2013-05-21 Thread Daniel Harris
Thank You very Much. I have been trying that for day and now after your advice it worked in mins. f(x,y) = e^cos(x)-1 a = plot_slope_field(f(x,y), (x,-0,5),(y,-5,5)) v = eulers_method(f,0,0,1/10,5,algorithm="none") plot(line(v)+a) That is exactly what i was after. Thank Again Dan On Tuesday,

Re: [sage-support] Quickly compute signs of eigenvalues

2013-05-21 Thread Michael Orlitzky
On 05/20/2013 05:19 PM, Theo Belaire wrote: > I have a large computation where I need to compute the number of > positive eigenvalues of a matrix. I am currently computing all the > eigenvalues then counting how many are positive, but I see when > profiling that "{method 'roots' of > 'sage.rings.po

Re: [sage-support] Re: Best way to plot a direction field and solution curve

2013-05-21 Thread William Stein
On Tue, May 21, 2013 at 2:15 PM, Daniel Harris wrote: > Hello > > I am really bogged down now and need some guidance. > > I am trying to follow an Open University Maths course but I dont have access > to MathCad. I can see on paper a graph created in mathcad using the > eulers_method to graph a di

[sage-support] Re: Best way to plot a direction field and solution curve

2013-05-21 Thread Daniel Harris
Hello I am really bogged down now and need some guidance. I am trying to follow an Open University Maths course but I dont have access to MathCad. I can see on paper a graph created in mathcad using the eulers_method to graph a direcrion/gradient field and solution curve for the function f(x,y

[sage-support] Re: Quickly compute signs of eigenvalues

2013-05-21 Thread Theo Belaire
I have a fixed number of 0 eigenvalues, and no real guarantee that the rest will be more than δ away for any δ. I wouldn't mind only recomputing close ones exactly, if I can bound the error so I know I won't miss any. I know that having more than one positive eigenvalues will be very rare, if i

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 1:00 PM, Niles Johnson wrote: On Tuesday, May 21, 2013 1:56:41 PM UTC-4, Jason Grout wrote: I'm moving the official sage cell server to CentOS, and I've been working on setting up automated installation for the virtual machines. This sounds like it would be very useful fo

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 12:56 PM, Jason Grout wrote: On 5/21/13 12:54 PM, Niles Johnson wrote: On Tuesday, May 21, 2013 1:25:10 PM UTC-4, Jason Grout wrote: 1. Make sure you have git; if you're on Ubuntu, you�ll also need the uuid-dev package installed (for �MQ). Ouch! I'm on RedHat, not Ubun

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Niles Johnson
On Tuesday, May 21, 2013 1:56:41 PM UTC-4, Jason Grout wrote: > > > I'm moving the official sage cell server to CentOS, and I've been > working on setting up automated installation for the virtual machines. > This sounds like it would be very useful for me too -- thanks for looking into it :)

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 12:54 PM, Niles Johnson wrote: On Tuesday, May 21, 2013 1:25:10 PM UTC-4, Jason Grout wrote: 1. Make sure you have git; if you're on Ubuntu, you�ll also need the uuid-dev package installed (for �MQ). Ouch! I'm on RedHat, not Ubuntu, but I guess I should have noticed tha

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Niles Johnson
On Tuesday, May 21, 2013 1:25:10 PM UTC-4, Jason Grout wrote: > > > 1. Make sure you have git; if you're on Ubuntu, you�ll also need the > uuid-dev package installed (for �MQ). > > > Ouch! I'm on RedHat, not Ubuntu, but I guess I should have noticed that anyway . . . -- You received th

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Aaron E-J
Installing using the binary download version of sage does not work, gives a "cannot find such and such file" message. Am trying it with the source version now. On Sunday, May 19, 2013 6:03:12 PM UTC-4, Aaron E-J wrote: > > I am interested in contributing to the sage cell server and am going

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 12:00 PM, Niles Johnson wrote: I've tried the sagecell-2013-05-20.spkg with a freshly compiled Sage 5.9, but still get an error. The patches apply, but zeromq does not install. Looking at the end of the output, I guess I need to install uuid-dev . . . Yep. Step 1 in the readme: ht

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Niles Johnson
I've tried the sagecell-2013-05-20.spkg with a freshly compiled Sage 5.9, but still get an error. The patches apply, but zeromq does not install. Looking at the end of the output, I guess I need to install uuid-dev . . . ... Installing zeromq checking for a BSD-compatible install... /usr/bin/

[sage-support] Re: Quickly compute signs of eigenvalues

2013-05-21 Thread Jason Grout
On 5/21/13 7:39 AM, Theo Belaire wrote: I haven't explicitly set the ring it's working over, but all the entries of the matrix are integral. Are your eigenvalues guaranteed to be a little away from 0, so you could use numeric approximations? If so, computing the eigenvalues over the RDF fiel

Re: [sage-support] Quickly compute signs of eigenvalues

2013-05-21 Thread Theo Belaire
I haven't explicitly set the ring it's working over, but all the entries of the matrix are integral. On Monday, 20 May 2013 20:37:55 UTC-4, William wrote: > > On Mon, May 20, 2013 at 2:19 PM, Theo Belaire > > wrote: > > I have a large computation where I need to compute the number of > positiv