Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Construction /

Range

FilledSmallSquare Range[imax] generates the list 1, 2, ... , imax.

FilledSmallSquare Range[imin, imax] generates the list imin, ... , imax. Range[imin, imax, di] uses step di.

FilledSmallSquare Example: Range[4] LongRightArrow.

FilledSmallSquare The arguments to Range need not be integers.

FilledSmallSquare Range starts from imin, and successively adds increments of di until the result is greater than imax.

FilledSmallSquare Range[0, 1, .3] LongRightArrow.

FilledSmallSquare Range[x, x+2] LongRightArrow.

FilledSmallSquare Range uses the standard Mathematica iteration specification, as applied to a single variable.

FilledSmallSquare See Section 1.8.3.

FilledSmallSquare See also: Table, Interval, CharacterRange.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: