This is a simple question, but I can't find anything in the
documentation about it.

I would like to declare a simple arithmetic sequence in sage. I use
this a lot for discrete plots, etc. In octave, syntax such as
[0:0.1:1] returns the sequence

0.0   0.2  0.4  0.6   0.8   1.0

Is there such a shorthand syntax for these kinds of sequences in sage?
I know about the shorthand [1..10] for integers, but this does not
seem to work for general arithmetic sequences. The range() function
also will not work correctly with non integer steps.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to