[sage-support] Complex number and TypeError: 'float' object is not callable

2009-03-01 Thread Alasdair
Here's the error: c=complex((sqrt(3)+2*I)^4) imag(c) returns TypeError: 'float' object is not callable So - how do I obtain the imaginary part of c? Thanks, Alasdair --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: Small groups library is missing

2009-03-01 Thread mabshoff
On Mar 1, 5:04 am, David Joyner wdjoy...@gmail.com wrote: I can work on #5397 some today (finally). On Feb 27, 5:17 pm, mabshoff michael.absh...@mathematik.uni- dortmund.de wrote: On Feb 27, 3:37 am, David Joyner wdjoy...@gmail.com wrote: Just a guess that the skpg install script

[sage-support] Re: Complex number and TypeError: 'float' object is not callable

2009-03-01 Thread Robert Bradshaw
On Mar 1, 2009, at 4:09 AM, Alasdair wrote: Here's the error: c=complex((sqrt(3)+2*I)^4) imag(c) returns TypeError: 'float' object is not callable So - how do I obtain the imaginary part of c? c.imag Our imag() function should really know about Python complex variables... - Robert

[sage-support] Re: Complex number and TypeError: 'float' object is not c...

2009-03-01 Thread CalcPage
I didn't get c.imag() to work for me either, I tried something like this: a=(sqrt(-3)+2)^2 print a print a.expand() print a.expand().imag() and got 2 (sqrt(3) I + 2) 4 sqrt(3) I + 1 4 sqrt(3) HTH, A. Jorge Garcia calcp...@aol.com

[sage-support] Re: Small groups library is missing

2009-03-01 Thread William Stein
sagemath and trac are down now anyway, so I'm not sure if this can be fixed today. I can start working on it after I finish grading an exam tomorrow and Almost definitely will be free to work on it a large chunk of the day Tuesday. They (=sagemath, cython, etc.) are all back up now.

[sage-support] Re: Small groups library is missing

2009-03-01 Thread David Joyner
On Sun, Mar 1, 2009 at 8:37 AM, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: One way to attack this would be to use something along the lines of mabsh...@sage:/scratch/mabshoff/sage-3.4.alpha1/spkg/standard$ ./ newest_version gap gap-4.4.12.p1 and strip the .pX

[sage-support] I can't load objets in Sage 3.2.3 that were created in Sage 3.1.1

2009-03-01 Thread Alex Lara
I'm using Sage 3.2.3. I can't load objects created and saved with Sage 3.1.1. I got the following message: DeprecationWarning: Your data is stored in an old format. Please use the save() function to store your data in a more recent format. --~--~-~--~~~---~--~~

[sage-support] Re: I can't load objets in Sage 3.2.3 that were created in Sage 3.1.1

2009-03-01 Thread Mike Hansen
Hi Alex, On Sun, Mar 1, 2009 at 8:20 AM, Alex Lara lrodr...@gmail.com wrote: I'm using Sage 3.2.3. I can't load objects created and saved with Sage 3.1.1. I got the following message:  DeprecationWarning: Your data is stored in an old format. Please use the save() function to store your

[sage-support] Re: Small groups library is missing

2009-03-01 Thread Simon King
Dear David, On Mar 1, 5:04 pm, David Joyner wdjoy...@gmail.com wrote: snip newest_version gap gap-4.4.12.p1 and strip the .pX off the version number in case it exists. Another one would be to look into the right directory and find the highest currently installed GAP version. snip

[sage-support] Re: Small groups library is missing

2009-03-01 Thread Simon King
Hence, assuming that you are in spkg/standard, you could define GAP=`./newest_version gap` which currently yields GAP=gap-4.4.10.p10, and then you have to somehow remove the '.p10'. Upps, I tested the above in an *old* version of Sage. So, currently we have ./newest_version gap

[sage-support] Re: Small groups library is missing

2009-03-01 Thread David Joyner
Thanks Simon! I didn't know that script already existed. Now I know what needs to be done. On Sun, Mar 1, 2009 at 11:59 AM, Simon King k...@mathematik.uni-jena.de wrote: Hence, assuming that you are in spkg/standard, you could define   GAP=`./newest_version gap` which currently yields

[sage-support] Re: I can't load objets in Sage 3.2.3 that were created in Sage 3.1.1

2009-03-01 Thread Alex Lara
From command line of Sage 3.1.1, I saved some object, and then I could open it with sage 3.2.3. Next I open test.sobj (this was created by a sage program) in sage 3.1.1, saved it again, and when I tried to open it on sage 3.2.3. Here you will find that object:

[sage-support] Re: I can't load objets in Sage 3.2.3 that were created in Sage 3.1.1

2009-03-01 Thread Mike Hansen
On Sun, Mar 1, 2009 at 9:56 AM, Alex Lara lrodr...@gmail.com wrote: From command line of Sage 3.1.1, I saved some object, and then I could open it with sage 3.2.3. Next I open test.sobj (this was created by a sage program) in sage 3.1.1,  saved it again, and when I tried to open it on sage

[sage-support] Publsihing interact graphs with sage

2009-03-01 Thread dracero
I was trying to publish interactive graphics which I perform using interact. I saw the slide bars and the numbers changing their values but I could not see any graphic. Does anybody help in order to get graphics in my published files? Thanks in advance.

[sage-support] Re: Publsihing interact graphs with sage

2009-03-01 Thread Timothy Clemans
Unfortunately published interact apps do not work by design for security reasons. On Sun, Mar 1, 2009 at 4:10 PM, dracero diego.rac...@gmail.com wrote: I was trying to publish interactive graphics which I perform using interact. I saw the slide bars and the numbers changing their values but

[sage-support] Re: Importing lists from mathematica

2009-03-01 Thread thelamecamel
Hi guys, For the benefit of others stuck as I was, or for those working on the ticket, here's a simplified version of what's been working for me over the last few months: res = mathematica(mathcommand) res_s = repr(res).replace('{','[').replace('}',']').replace ('*^','e').replace('\n','')

[sage-support] Re: I can't load objets in Sage 3.2.3 that were created in Sage 3.1.1

2009-03-01 Thread Craig Citro
From command line of Sage 3.1.1, I saved some object, and then I could open it with sage 3.2.3. Next I open test.sobj (this was created by a sage program) in sage 3.1.1,  saved it again, and when I tried to open it on sage 3.2.3. Here you will find that object: