Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Range

Usage

Range[ ] generates the list {1, 2, ... ,  }.
Range[ ,  ] generates the list { , ... ,  }. Range[ ,  , di] uses step di.


Notes

• Example: Range[4]LongRightArrow .
• The arguments to Range need not be integers.
Range starts from  , and successively adds increments of di until the result is greater than  .
Range[0, 1, .3]LongRightArrow .
Range[x, x+2]LongRightArrow .
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.


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



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: