[sage-support] Re: Sage public notebook servers

2008-10-14 Thread pong
I understand the issue. However, is there a way that I can retrieve the worksheets that I have saved in server 2? On Oct 13, 2:29 pm, William Stein <[EMAIL PROTECTED]> wrote: > Hello, > > A security researcher decided to purposely take down sage.math to > demonstrate that it is possible to fork

[sage-support] Re: REDUCE in SAGE

2008-10-14 Thread Hazem
John, I don't know either well enough to be able to answer your question. CAS for me are mostly a hobby. Occasionally I do need to solve a hard separation of variables problem, or a hard integral, but usually I find a workaround, either an approximation or I change something physical if i can to

[sage-support] Re: REDUCE in SAGE

2008-10-14 Thread Hazem
Thanks. Hazem On Oct 14, 4:48 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > This should help:http://axiom-wiki.newsynthesis.org/Rosetta > (or you can try here,http://wiki.axiom-developer.org/RosettaStone/ > but the download link there is broken). Also, you can > (it says) try reduce here:http

[sage-support] Re: parent of Set

2008-10-14 Thread Martin Rubey
Robert Bradshaw <[EMAIL PROTECTED]> writes: > >> Typically one uses the parent() function when one has an element > >> (such as an integer) and wants it's Parent. This is why it's not an > >> element of the Parent. > > > > Hm, I do not understand that. Why wouldn't one want to use 5.parent (), >

[sage-support] Re: parent of Set

2008-10-14 Thread Robert Bradshaw
On Oct 14, 2008, at 2:02 PM, Martin Rubey wrote: > Robert Bradshaw <[EMAIL PROTECTED]> writes: > >> On Oct 14, 2008, at 1:33 PM, Martin Rubey wrote: >> >>> >>> I believe I understood now: >>> >>> sage: ?parent >>> Type: function >>> >>> Return x.parent() if defined, or type(x)

[sage-support] Re: REDUCE in SAGE

2008-10-14 Thread Hazem
Interesting...there's an opportunity for me to contribute ro Sage. Very exciting! I'll have a look at your attempt, William. In the meantime, can anyone direct me to a comparison between REDUCE and Mathematica, Maple, MuPAD, Axiom, or Maxima or some of the other familiar packages? I haven't foun

[sage-support] Re: parent of Set

2008-10-14 Thread Martin Rubey
Robert Bradshaw <[EMAIL PROTECTED]> writes: > On Oct 14, 2008, at 1:33 PM, Martin Rubey wrote: > > > > > I believe I understood now: > > > > sage: ?parent > > Type: function > > > > Return x.parent() if defined, or type(x) if not. > > > > I wonder why this is a function, and n

[sage-support] Re: REDUCE in SAGE

2008-10-14 Thread David Joyner
This should help: http://axiom-wiki.newsynthesis.org/Rosetta (or you can try here, http://wiki.axiom-developer.org/RosettaStone/ but the download link there is broken). Also, you can (it says) try reduce here: http://axiom-wiki.newsynthesis.org/FrontPage I've not tested that though. On Tue, Oct

[sage-support] Re: REDUCE in SAGE

2008-10-14 Thread John Cremona
What is the functionality in REDUCE which you need which is not already provided in Sage? My impression is that REDUCE is a rather old package which has not been actively developed for some time (though I may well be wrong -- I last used it in the 1980s). John 2008/10/14 Hazem <[EMAIL PROTECTED

[sage-support] Re: parent of Set

2008-10-14 Thread Robert Bradshaw
On Oct 14, 2008, at 1:33 PM, Martin Rubey wrote: > > I believe I understood now: > > sage: ?parent > Type: function > > Return x.parent() if defined, or type(x) if not. > > I wonder why this is a function, and not a method of Parent? Typically one uses the parent() function wh

[sage-support] Re: parent of Set

2008-10-14 Thread Martin Rubey
I believe I understood now: sage: ?parent Type: function Return x.parent() if defined, or type(x) if not. I wonder why this is a function, and not a method of Parent? (Am I right that all Sage parents inherit from Parent? Would be great to know this) Set_object inherits fro

[sage-support] Re: textmate

2008-10-14 Thread Tim Lahey
On Oct 14, 2008, at 3:58 PM, William Stein wrote: The student who was going to do a Sage TextMate plugin ended up doing a project on something else instead. You might get some mileage from using the PYthon plugin -- I don't know. sage-support: Any other TextMate users out there? I use Tex

[sage-support] Re: textmate

2008-10-14 Thread William Stein
On Tue, Oct 14, 2008 at 10:13 AM, haija <[EMAIL PROTECTED]> wrote: > Hi, it's been a while since the last post but did anything come off > this idea? Googled around but didn't find anything. I use TM a lot and > would love to see such a bundle. The student who was going to do a Sage TextMate plug

[sage-support] Final Sage 3.1.3 sources are out

2008-10-14 Thread mabshoff
Hello folks, here are the minimal fixes for the final 3.1.3: #4271: Paul Zimmermann: improve coverage test of ell_generic.py to 100%, and fix typos [Reviewed by John Cremona] #4272: Michael Abshoff: add the files from new coercion to the reference manual [Reviewed by Mike Hansen] #4279: Michael

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread William Stein
On Tue, Oct 14, 2008 at 9:00 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > Ah, right, sorry about that. So the points are in the right place, > and the contours were being drawn wrong? That makes me feel much > better. > Yes. The contours were being drawn to too small of precision, hence

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread Marshall Hampton
Ah, right, sorry about that. So the points are in the right place, and the contours were being drawn wrong? That makes me feel much better. Thanks again, Marshall On Oct 14, 9:49 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 8:42 AM, Marshall Hampton <[EMAIL PROTECTE

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread William Stein
On Tue, Oct 14, 2008 at 8:42 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > Are you guys implying this is a natural fix? The behavior I see is a > bug, in my opinion. I don't want 500 contours for what I am doing. 500 is not the number of contours but the *precision*. You have to up it or

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread Marshall Hampton
Are you guys implying this is a natural fix? The behavior I see is a bug, in my opinion. I don't want 500 contours for what I am doing. Thanks for taking a look! -M. Hampton On Oct 14, 9:26 am, Jason Grout <[EMAIL PROTECTED]> wrote: > William Stein wrote: > > On Tue, Oct 14, 2008 at 8:07 AM,

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread Justin C. Walker
On Oct 14, 2008, at 08:26 , Jason Grout wrote: > > William Stein wrote: >> On Tue, Oct 14, 2008 at 8:07 AM, Marshall Hampton <[EMAIL PROTECTED] >> > wrote: >>> I am trying to do a demo for a class and I have encountered a >>> strange >>> and very annoying error (or I am missing something). >>

[sage-support] Re: parent of Set

2008-10-14 Thread Martin Rubey
"William Stein" <[EMAIL PROTECTED]> writes: > On Tue, Oct 14, 2008 at 4:15 AM, Martin <[EMAIL PROTECTED]> wrote: > > > > Am I doing something wrong in the session below? > > I guess so, given the error messages. > > > I admit that I do not understand python types and methods yet. When > > can

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread Jason Grout
William Stein wrote: > On Tue, Oct 14, 2008 at 8:07 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote: >> I am trying to do a demo for a class and I have encountered a strange >> and very annoying error (or I am missing something). >> >> If I do: >> {{{ >> var('x,y') >> f = (x^2+y^2)^(.5) >> cp = con

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread Marshall Hampton
It appears this is caused somehow by implicit_plot; if I use parametric_plot for the ellipse everything works normally. -M. Hampton On Oct 14, 10:07 am, Marshall Hampton <[EMAIL PROTECTED]> wrote: > I am trying to do a demo for a class and I have encountered a strange > and very annoying error (

[sage-support] Re: plot problem with points and contours

2008-10-14 Thread William Stein
On Tue, Oct 14, 2008 at 8:07 AM, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > I am trying to do a demo for a class and I have encountered a strange > and very annoying error (or I am missing something). > > If I do: > {{{ > var('x,y') > f = (x^2+y^2)^(.5) > cp = contour_plot(f,(-3,3),(-4,4), fi

[sage-support] plot problem with points and contours

2008-10-14 Thread Marshall Hampton
I am trying to do a demo for a class and I have encountered a strange and very annoying error (or I am missing something). If I do: {{{ var('x,y') f = (x^2+y^2)^(.5) cp = contour_plot(f,(-3,3),(-4,4), fill=False, plot_points = 80, cmap = 'winter', contours=srange(2.9,3.1,.1)) g = x^2/4+y^2/9-1 gp

[sage-support] Re: assume(...) is very slow

2008-10-14 Thread William Stein
This could be greatly sped up by changing maxima.assume('...') to maxima.eval("assume(..)") in the calculus code... sage: timeit("maxima.eval('assume(x>0)')") 5 loops, best of 3: 53.2 ms per loop sage: timeit("maxima.assume(x>0)") 5 loops, best of 3: 122 ms per loop I don't have time to do

[sage-support] assume(...) is very slow

2008-10-14 Thread Stan Schymanski
Dear all, Is there a reason why the assume(...) command takes so much longer than var(...)? Example: %time var('av jbiom lwat p rwat veloc mort epot esv etv esb etb wv wb qbv bv') gives: CPU time: 0.00 s, Wall time: 0.00 s On the other hand, %time assume(p>0, veloc>0, mort>0,lwat>0,jbiom>0,rwat>

[sage-support] Re: server issues

2008-10-14 Thread Jason Grout
kcrisman wrote: >> kcrisman, >> >> This was discussed recently. Several people said that if you start >> several Sage notebooks on the same machine or virtual machine, but >> different ports, things can scale up. It's having too many people on >> the same sage notebook that seems to be the probl

[sage-support] Re: Diagonalizing a symbolic matrix

2008-10-14 Thread Martin Rubey
Martin Albrecht <[EMAIL PROTECTED]> writes: > On Tuesday 14 October 2008, sonium wrote: > > ((a, b, 0, 0), > > (b,-a,b,0), > > (0,b,a,b), > > (0,0,b,-a)) > > Hi, try this: > > sage: A.echelon_form() # row_reduction by constant entries only > sage: A.echelon_form('frac') # over the fraction fie

[sage-support] Re: server issues

2008-10-14 Thread William Stein
On Tue, Oct 14, 2008 at 6:36 AM, kcrisman <[EMAIL PROTECTED]> wrote: > >> >> kcrisman, >> >> This was discussed recently. Several people said that if you start >> several Sage notebooks on the same machine or virtual machine, but >> different ports, things can scale up. It's having too many peop

[sage-support] Re: Diagonalizing a symbolic matrix

2008-10-14 Thread Martin Albrecht
> I thought the original author wanted to find the diagonalised matrix? > I.e., the eigenvalues on the diagonal. Did I misunderstand? No, I misunderstood. Sorry for the noise. Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www:

[sage-support] server issues

2008-10-14 Thread kcrisman
> > kcrisman, > > This was discussed recently.  Several people said that if you start > several Sage notebooks on the same machine or virtual machine, but > different ports, things can scale up.  It's having too many people on > the same sage notebook that seems to be the problem.  We aren't sure

[sage-support] Re: parent of Set

2008-10-14 Thread William Stein
On Tue, Oct 14, 2008 at 4:15 AM, Martin <[EMAIL PROTECTED]> wrote: > > Am I doing something wrong in the session below? I guess so, given the error messages. > I admit that I do not understand python types and methods yet. When > can I apply the functional notation, when the method notation? I

[sage-support] Re: Diagonalizing a symbolic matrix

2008-10-14 Thread Martin Albrecht
On Tuesday 14 October 2008, sonium wrote: > ((a, b, 0, 0), > (b,-a,b,0), > (0,b,a,b), > (0,0,b,-a)) Hi, try this: sage: P. = PolynomialRing(QQ) sage: matrix(P,4,4,((a, b, 0, 0), : (b,-a,b,0), : (0,b,a,b), : (0,0,b,-a))) [ a b 0 0] [ b -a b 0] [ 0 b a b] [ 0 0 b -a] sage: A

[sage-support] Diagonalizing a symbolic matrix

2008-10-14 Thread sonium
Hi, How can I diagonalize a matrix in the with symbolic values? The matrix has the form of: ((a, b, 0, 0), (b,-a,b,0), (0,b,a,b), (0,0,b,-a)) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, s

[sage-support] Re: solve() problem: raise ValueError, "Unable to solve %s for %s"%(f, args)

2008-10-14 Thread vpv
Hello Martin, Thank you very much for your reply. As you suggested, I computed the lexicographical Gröbner basis of the ideal generated by the polynomials e. It is: G = [x15 + x111 + 1, x20 + x111, x21 + x111, x28 + x111 + 1, x29 + x111 + 1, x31 + x111, x39, x46, x47 + x111, x63 + 1, x79 + x111

[sage-support] parent of Set

2008-10-14 Thread Martin
Am I doing something wrong in the session below? I admit that I do not understand python types and methods yet. When can I apply the functional notation, when the method notation? It seems that it's not a language thing, because they often return different things. As another example, Mod(5,3)

[sage-support] Re: formatting not saved in notebooks

2008-10-14 Thread Stan Schymanski
Sorry, I forgot that there is already a trac ticket on this (#4217). I posted an example on 30 September and it's still in the thread. Basically, a cell like that: %hide %html This is a cell with a long line of text bla bla bla bla bla bla bla... gives a nicely formatted output with line breaks

[sage-support] Re: formatting not saved in notebooks

2008-10-14 Thread Jason Grout
Stan Schymanski wrote: > Dear all, > > I just installed sage 3.1.3.rc0 and the problem about losing the html > formatting in notebook cells is still there. Does anyone have an idea > how to fix this? Isn't anyone else annoyed by this?? Or am I doing > something wrong? Could you post an example

[sage-support] Re: solve() problem: raise ValueError, "Unable to solve %s for %s"%(f, args)

2008-10-14 Thread Martin Albrecht
On Sunday 12 October 2008, vpv wrote: > Can someone please tell me why it is impossible to solve the following > system of boolean equations in SAGE: > > sage: N=144 > sage: P = BooleanPolynomialRing(N,'x',order='lex') > sage: t = [] > sage: for i in range(0,N): > t.append(var(P.gen(i))) > sag

[sage-support] Re: [sage-devel] Re: Sage public notebook servers

2008-10-14 Thread Serge Salamanka
I have experience with Xen. Can set up a virtual machine for Sage. It's not that difficult anyway. Serge William Stein wrote: > Jason Grout wrote: >> William Stein wrote: >>> Hello, >>> >>> A security researcher decided to purposely take down sage.math to >>> demonstrate that it is possible to

[sage-support] Re: formatting not saved in notebooks

2008-10-14 Thread Stan Schymanski
Dear all, I just installed sage 3.1.3.rc0 and the problem about losing the html formatting in notebook cells is still there. Does anyone have an idea how to fix this? Isn't anyone else annoyed by this?? Or am I doing something wrong? Thanks again for your help! Regards, Stan --~--~-~--~