Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team