rSeq

Help Contents Arithmetic Number Generators rSeq
iSeqIA rSeqFloatArray

rSeq from to count


outputs a list of count equally spaced rational or complex numbers between FROM and to, inclusive. rSeq is also useful to generate a list of equal numbers, like in the last of the examples.

Examples:

rSeq 3 5 9		;[3 3.25 3.5 3.75 4 4.25 4.5 4.75 5] ;-)
rSeq 3 5 5		;[3 3.5 4 4.5 5] ;-)
rSeq pi pi 4		;[3.14159 3.14159 3.14159 3.14159] ;-)

Examples:

References:

iSeqIA rSeqFloatArray