[sage-support] Re: Doctesting in parallel

2009-09-09 Thread Minh Nguyen
Hi David, On Mon, Sep 7, 2009 at 9:56 PM, David Joynerwdjoy...@gmail.com wrote: SNIP This is useful. Could this be added to the wiki and/or the programming manual? This is now ticket #6908 http://trac.sagemath.org/sage_trac/ticket/6908 -- Regards Minh Van Nguyen

[sage-support] Re: real, imag and plot

2009-09-09 Thread Harald Schilly
On Sep 8, 10:13 pm, Francois Maltey fmal...@nerim.fr wrote: I continue to try to plot in the complex plane the 4 solutions of the equation : z^4+2*a*z^2+1 = 0 when a is a real. To confuse you even more, check this out: a = animate([complex_plot(lambda z: z^4+2*a*z^2+1, (-2,2), (-2,2))

[sage-support] Re: Doctesting in parallel

2009-09-09 Thread Minh Nguyen
On Mon, Sep 7, 2009 at 9:56 PM, David Joynerwdjoy...@gmail.com wrote: SNIP This is useful. Could this be added to the wiki and/or the programming manual? A patch is up at ticket #6908 http://trac.sagemath.org/sage_trac/ticket/6908 It now awaits the chosen one to review it :-) -- Regards

[sage-support] Bug in integrate

2009-09-09 Thread Mani chandra
Hi, Take a look at the following output sage: f = sin(2*x)*sin(2*y) sage: g = f*exp(-I*(2*x)) sage: g.integrate(x, 0, 2*pi) -I*pi*sin(2*y) But... sage: f = sin(2*x)*sin(2*y) sage: g = f*exp(-I*(2*x))*exp(-I*2*y) sage: g.integrate(x, 0, 2*pi) TypeError: Error executing code in Maxima

[sage-support] Re: irreducible_components

2009-09-09 Thread VictorMiller
I just ran the following on sagenb.org (so the latest release): PP.x,y,z,w = ProjectiveSpace(3,QQ) f = x^3 + y^3 + z^3 + w^3 R = f.parent() I = [f] + [f.derivative(zz) for zz in PP.gens()] V = PP.subscheme(I) V.irreducible_components() The output is: [ Closed subscheme of Projective Space of

[sage-support] animation Graphics3d object

2009-09-09 Thread niels
Hi, is it possible to create an animated gif of a list of Graphics3d objects? The following code doesn't work: -- dim2 = circle((1,1), 1, rgbcolor=(1,0,0)) dim3 = sphere(center=(-1,0,0),viewer=tachyon) print dim2 print dim3 a=animate([dim2,dim3]) a.show() --- the output is:

[sage-support] Re: animation Graphics3d object

2009-09-09 Thread Harald Schilly
On Sep 9, 5:08 pm, niels niels.lub...@gmail.com wrote: is it possible to create an animated gif of a list of Graphics3d objects? I suspect it's due to the java applet (jmol). If you render it via tachyon, it should work I guess. Sorry, I don't have time to give you an example, maybe another

[sage-support] Login problem

2009-09-09 Thread Scheiber Ernest
I can not login to sage (version 4.1 and 4.1.1). At sage login: typing sage or notebook I receive the same frame: Welcome to Sage:...Type one of the followingsage login:. My Computer: AMD Athlon Processor 1.05 MHz, 768 MB of RAM, Windows XP with SP 2; VMware Player 2.5.3 ( I use an ubuntu

[sage-support] Re: eval(string)

2009-09-09 Thread Mikie
I need to be able to input a string like this --- L1=[3,10,15,23,25,30,3,[5]*3] Need the repeated values for the 5. If I don't have repeated values your code works. I have done some error traping for eval. Users can not put something like rm. On Sep 8, 2:38 pm, Robert Bradshaw

[sage-support] Re: eval(string)

2009-09-09 Thread Tim Dumol
`eval(the_string, globals = {__builtins__:None}, locals = {})` should do it. This removes access from all functions. Add any functions that are needed by adding them to the locals dictionary. As stated in: http://stackoverflow.com/questions/661084/security-of-pythons-eval-on-untrusted-strings

[sage-support] Please remove my e-mail address from the group distribution list.

2009-09-09 Thread Guilhem Bourrié
Please remove my e-mail address from the group distribution list. The message sent to sage-support-unsubscr...@googlegroups.com was returned undelivered. Best regards, Guilhem Bourrié INRA Géochimie des sols et des eaux Europôle méditerranéen de l'Arbois Bâtiment Laënnec BP 80 F 13545

[sage-support] Re: Please remove my e-mail address from the group distribution list.

2009-09-09 Thread Minh Nguyen
Hi Guilhem, On Thu, Sep 10, 2009 at 2:26 AM, Guilhem Bourriébour...@aix.inra.fr wrote: Please remove my e-mail address from the group distribution list. As you requested, your email address has been removed from the sage-support mailing list. -- Regards Minh Van Nguyen

[sage-support] Re: Doctesting in parallel

2009-09-09 Thread kcrisman
By the way, why doesn't that cause a problem when it's just the -t flag? I don't understand your question. Can you please explain? For me, running (from the home directory) sage-x.x.x/sage -t devel/sage/sage/myfile.py works, but sage-x.x.x/sage -tp 3 devel/sage/sage/myfile.py does not,

[sage-support] Re: animation Graphics3d object

2009-09-09 Thread Marshall Hampton
The sphere is being rendered in his example with tachyon, and the circle is already 2d. I think this is a bug in the animate command, it just can't handle 3d objects right now. -M. Hampton On Sep 9, 9:12 am, Harald Schilly harald.schi...@gmail.com wrote: On Sep 9, 5:08 pm, niels

[sage-support] Re: animation Graphics3d object

2009-09-09 Thread William Stein
On Wed, Sep 9, 2009 at 11:13 AM, Marshall Hampton hampto...@gmail.com wrote: The sphere is being rendered in his example with tachyon, and the circle is already 2d.  I think this is a bug in the animate command, it just can't handle 3d objects right now. animate was written long, long before