|
Range
Range[imax] generates the list 1, 2, ... , imax .
Range[imin, imax] generates the list imin, ... , imax . Range[imin, imax, di] uses step di.
Example: Range[4]  .
The arguments to Range need not be integers.
Range starts from imin, and successively adds increments of di until the result is greater than imax.
Range[0, 1, .3]  .
Range[x, x+2]  .
Range uses the standard Mathematica iteration specification, as applied to a single variable.
See Section 1.8.3.
See also: Table, Interval, CharacterRange.
New in Version 1.
Further Examples
|