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,..
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],
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
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
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
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: [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
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
> 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
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
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
11 matches
Mail list logo