[sage-support] Re: bug in plot of 2^x?

2008-01-01 Thread William Stein
On Dec 30, 2007 9:11 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > Hi: > > sage: P = plot(e^(ln(2)*x),-1,1) > > works fine (note: e^(ln(2)*x) = 2^x) but > > sage: P = plot(2^x,-1,1) > WARNING: When plotting, failed to evaluate function at 201 points. > Last error message: 'exponent (=1.0) must b

[sage-support] Re: Some curios behavior (for me :)) in maxima and octave 2d plotting

2008-01-01 Thread William Stein
On Jan 1, 2008 6:16 PM, lwd <[EMAIL PROTECTED]> wrote: > > First of all "A Happy New Year to everyone!" > Ok, sage-2.9.1-linux-ubuntu-32bit-i686-Linux on Ubuntu 7.10 machine I > get a plot for this: > sage: maxima.plot2d('[-7.5/-0.5*(x-0.5)+8,-7.5/7.5*(x-0.5)+8]','[x, > 0,8]', '[y, 0, 8],[ylabel

[sage-support] Some curios behavior (for me :)) in maxima and octave 2d plotting

2008-01-01 Thread lwd
First of all "A Happy New Year to everyone!" Ok, sage-2.9.1-linux-ubuntu-32bit-i686-Linux on Ubuntu 7.10 machine I get a plot for this: sage: maxima.plot2d('[-7.5/-0.5*(x-0.5)+8,-7.5/7.5*(x-0.5)+8]','[x, 0,8]', '[y, 0, 8],[ylabel,"y"],[gnuplot_preamble, "set grid xtics ytics"],[legend,false]')

[sage-support] Re: polynomial substitution

2008-01-01 Thread William Stein
On Jan 1, 2008 1:31 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > After executing the following commands in Sage: > > QQi.=QQ.extension([x^2+1]); > R.=MPolynomialRing(QQi,order='lex') > T1_Pxxx=3*a^2*b+(1-a)^2*(1-b)-f0 > T1_Pxxy=3*(1-a)^2*b+3*a^2*(1-b)+6*a^2*b-f2 > T1_Pxyz=6*(1-a)*a*b+6*a*(

[sage-support] polynomial substitution

2008-01-01 Thread [EMAIL PROTECTED]
After executing the following commands in Sage: QQi.=QQ.extension([x^2+1]); R.=MPolynomialRing(QQi,order='lex') T1_Pxxx=3*a^2*b+(1-a)^2*(1-b)-f0 T1_Pxxy=3*(1-a)^2*b+3*a^2*(1-b)+6*a^2*b-f2 T1_Pxyz=6*(1-a)*a*b+6*a*(1-a)*b+6*a^2*(1-b)+6*a^2*b-f1 T1_Pyxx=3*(1-a)*a*b+3*a*(1-a)*(1-b)+6*a^2*b-(1-f0-f1-f

[sage-support] Re: Display of polynomials

2008-01-01 Thread Ondrej Certik
On Dec 31, 2007 6:16 PM, pgdoyle <[EMAIL PROTECTED]> wrote: > > The following behavior is not what I want or expect for the ordering > of terms when Sage displays a polynomial: > > sage: 1-x > 1 - x > sage: 1+x > x + 1 > sage: 1-x^2 > 1 - x^2 > sage: 1+x^2 > x^2 + 1 > sage: 1+x-x^2 > -x^2 + x + 1

[sage-support] Re: Symbolic computation is slow

2008-01-01 Thread Ondrej Certik
On Dec 31, 2007 9:00 PM, Mike Hansen <[EMAIL PROTECTED]> wrote: > > Hello, > > Sympy provides it's own matrices. As mentioned before, there needs to > be more work done with sympy in Sage so that what you tried does work. > In the meantime, look at the following example: > > sage: import sympy >

[sage-support] Re: matrix vs. vector differences?

2008-01-01 Thread David Joyner
The decode bug has been submitted as http://sagetrac.org/sage_trac/ticket/1651 I'm not sure that you mean by "...and the function documentation...". On Dec 30, 2007 4:15 PM, harald schilly <[EMAIL PROTECTED]> wrote: > > > > On Dec 30, 9:13 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > This