[sage-support] Re: Installing optional R package on sagenb.org

2009-01-09 Thread ztnews
I had a similar failure today, trying to: r.install_packages(adapt) after some fussing, runing ./sage as root, and using the notebook interface I could get through the download phase, but same sorts of failures in just as the gcc kicks in. Seems several of the key R scripts have

[sage-support] question about solve() function

2009-01-09 Thread Sand Wraith
Hi! Is it possible to get order of root of equation? For example equation: f(x)=(x+1)^2 and it's solution solve(f,x) will be [x == -1], but this is not perfect clear, because x==-1 have second order. This equation actually must have two same roots: [x == -1,x == -1].

[sage-support] Re: question about solve() function

2009-01-09 Thread William Stein
On Fri, Jan 9, 2009 at 3:49 AM, Sand Wraith omegat...@gmail.com wrote: Hi! Is it possible to get order of root of equation? For example equation: f(x)=(x+1)^2 and it's solution solve(f,x) will be [x == -1], but this is not perfect clear, because x==-1 have second order. This equation

[sage-support] Re: Installing optional R package on sagenb.org

2009-01-09 Thread William Stein
On Fri, Jan 9, 2009 at 1:19 AM, ztnews cronin.vin...@gmail.com wrote: I had a similar failure today, trying to: r.install_packages(adapt) after some fussing, runing ./sage as root, and using the notebook interface I could get through the download phase, but same sorts of failures in just

[sage-support] Re: why doesn`t solve() give a proper answer

2009-01-09 Thread Robert Dodier
On Jan 9, 6:51 am, Slava slava_se...@mail.ru wrote: I`m trying to solve such simple system of equations: [sqrt(x) == 1, x == y], so I type: x,y = var('x,y'); solve([sqrt(x) == 1, x == y], x, y); the answer is: [] If I understand correctly, Sage punts to Maxima to solve equations.

[sage-support] Re: why doesn`t solve() give a proper answer

2009-01-09 Thread William Stein
On Fri, Jan 9, 2009 at 9:01 AM, Robert Dodier robert.dod...@gmail.com wrote: On Jan 9, 6:51 am, Slava slava_se...@mail.ru wrote: I`m trying to solve such simple system of equations: [sqrt(x) == 1, x == y], so I type: x,y = var('x,y'); solve([sqrt(x) == 1, x == y], x, y); the answer is:

[sage-support] Re: why doesn`t solve() give a proper answer

2009-01-09 Thread William Stein
On Fri, Jan 9, 2009 at 9:05 AM, William Stein wst...@gmail.com wrote: On Fri, Jan 9, 2009 at 9:01 AM, Robert Dodier robert.dod...@gmail.com wrote: On Jan 9, 6:51 am, Slava slava_se...@mail.ru wrote: I`m trying to solve such simple system of equations: [sqrt(x) == 1, x == y], so I type:

[sage-support] Problem Running with nohup on OSX.5

2009-01-09 Thread Tom
I'm having difficulty running Sage in the background on a Mac with OSX. 5 and getting the output saved in a file. I tried a few permutations with different results so I expect I'm making a silly error. Here's what I've seen. Since the program runs fine in some of the scenarios, I don't think

[sage-support] Re: Problem Running with nohup on OSX.5

2009-01-09 Thread Carl Witty
On Jan 9, 1:53 pm, Tom haged...@tcnj.edu wrote: I'm having difficulty running Sage in the background on a Mac with OSX. 5 and getting the output saved in a file.  I tried a few permutations with different results so I expect I'm making a silly error.   Here's what I've seen. Since the

[sage-support] the set containing the empty set

2009-01-09 Thread John H Palmieri
Is this a bug? sage: Set([]) {} sage: Set(Set([])) {} sage: Set([]) == Set(Set([])) True In general, are Sage Sets supposed to behave like mathematical sets? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: the set containing the empty set

2009-01-09 Thread Mike Hansen
On Fri, Jan 9, 2009 at 3:36 PM, John H Palmieri jhpalmier...@gmail.com wrote: Is this a bug? sage: Set([]) {} sage: Set(Set([])) {} sage: Set([]) == Set(Set([])) True This is because Set takes a list (iterable) for all the of the elements of the set. So, if you want to construct the

[sage-support] Re: the set containing the empty set

2009-01-09 Thread John H Palmieri
On Jan 9, 3:40 pm, William Stein wst...@gmail.com wrote: On Fri, Jan 9, 2009 at 3:38 PM, Mike Hansen mhan...@gmail.com wrote: On Fri, Jan 9, 2009 at 3:36 PM, John H Palmieri jhpalmier...@gmail.com wrote: Is this a bug? sage: Set([]) {} sage: Set(Set([])) {} sage: Set([]) ==

[sage-support] Re: the set containing the empty set

2009-01-09 Thread William Stein
On Fri, Jan 9, 2009 at 6:42 PM, John H Palmieri jhpalmier...@gmail.com wrote: On Jan 9, 3:40 pm, William Stein wst...@gmail.com wrote: On Fri, Jan 9, 2009 at 3:38 PM, Mike Hansen mhan...@gmail.com wrote: On Fri, Jan 9, 2009 at 3:36 PM, John H Palmieri jhpalmier...@gmail.com wrote: