Range
Range[imax]
generates the list {1,2,…,imax}.
Range[imin,imax]
generates the list {imin,…,imax}.
Range[imin,imax,di]
uses step di.
Examples
open allclose allScope (6)
Applications (4)
Properties & Relations (2)
Possible Issues (3)
For some step sizes, Range may not include the upper limit given:
Even though the lower limit was exact, the inexact step makes the first element inexact:
Range accepts Quantity expressions as limits and steps:
For Quantity expressions, Precision is taken into account when determining whether elements are within the bounds of the limits:
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png
RelatedLinks-NKS.png