[sage-support] Re: Arithmetic Progession syntax

2011-04-01 Thread achrzesz
sage: import scipy as sc sage: map(floor,sc.arange(0.0,1.2,0.1)) [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1] On 1 Kwi, 21:17, ObsessiveMathsFreak wrote: > Thanks for that, but I've run into another issue. I don't know whether > this is related to the sequence syntax or not > > sage: for n in [0.0,0.1,..

[sage-support] ring from operation tables

2011-04-01 Thread dstahlke
Given tables defining the addition and multiplication operations for a finite ring, is there a way to construct such a Ring() in Sage? For example: add_tab = Matrix([ [0, 1, 2, 3], [1, 0, 3, 2], [2, 3, 0, 1], [3, 2, 1, 0], ]) mul_tab = Matrix([ [0, 0, 0, 0], [0, 0, 0, 0],

[sage-support] Saving/Showing large animation consumes vast resources

2011-04-01 Thread ObsessiveMathsFreak
I was having a problem with sage when trying to animate large images with many frames. Essentially, when the image was either being shown or saved to a gif file, the Imagemagick convert process would consumes gigabytes of memory, go out to swap, and the whole system would grind to a halt. I manage

[sage-support] Re: Arithmetic Progession syntax

2011-04-01 Thread Jason Grout
On 4/1/11 2:17 PM, ObsessiveMathsFreak wrote: Thanks for that, but I've run into another issue. I don't know whether this is related to the sequence syntax or not sage: for n in [0.0,0.1,..,1.1]: sage: print n, floor(n) 0.000 0 0.100 0 0.200 0 0.30

[sage-support] Re: Arithmetic Progession syntax

2011-04-01 Thread ObsessiveMathsFreak
Thanks for that, but I've run into another issue. I don't know whether this is related to the sequence syntax or not sage: for n in [0.0,0.1,..,1.1]: sage: print n, floor(n) 0.000 0 0.100 0 0.200 0 0.300 0 0.400 0 0.500 0

Re: [sage-support] Re: Arithmetic Progession syntax

2011-04-01 Thread Mike Hansen
On Fri, Apr 1, 2011 at 8:08 PM, ObsessiveMathsFreak wrote: >> sage: [0,0.2,..,1] >> [0.000, 0.200, 0.400, >> 0.600, 0.800, 1.00] > > May sage installation appears to be having trouble with this syntax > > OK Here > sage: [0.0,

[sage-support] Re: Arithmetic Progession syntax

2011-04-01 Thread ObsessiveMathsFreak
> sage: [0,0.2,..,1] > [0.000, 0.200, 0.400, > 0.600, 0.800, 1.00] May sage installation appears to be having trouble with this syntax OK Here sage: [0.0,0.2,..,0.9] [0.000, 0.200, 0.400, 0

[sage-support] sagenb.org

2011-04-01 Thread VictorMiller
Is sagenb.org having problems? I tried to log on yesterday (and today, just now), and it said that my username was unknown! Victor -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For m

Re: [sage-support] commenting out

2011-04-01 Thread Håkan Granath
> In Python one can comment out a whole block of text with Alt+3, how > can I do that in Sage ? See this page: http://www.sagemath.org/doc/reference/sagenb/notebook/config.html /Håkan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send ema

[sage-support] commenting out

2011-04-01 Thread clodemil
Hi all, In Python one can comment out a whole block of text with Alt+3, how can I do that in Sage ? TIA. Claude -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

[sage-support] Re: date call

2011-04-01 Thread clodemil
Thank you all, very useful. Claude On Mar 31, 4:08 pm, Dan Drake wrote: > On Thu, 31 Mar 2011 at 05:36AM -0700, clodemil wrote: > > Is it possible to call up the calendar date and time, to be used in, > > for instance, m=list(measurement,date) ? > > Python (and hence Sage) has a number of modules