Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Constructing Lists >

Range

Range[imax]
generates the list {1, 2, ..., imax}.
Range[imin, imax]
generates the list {imin, ..., imax}.
Range[imin, imax, di]
uses step di.
  • 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 uses the standard Mathematica iteration specification, as applied to a single variable.
New in 1
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team