IndexRange

IndexRange[a, p] and IndexRange[{a, p}] return the list of symbols between symbols a and p (using CharacterRange internally).
IndexRange[{a1, p1}, {a2, p2}, ...] returns the union (using Union, and hence sorted) of the ranges defined by the given pairs of indices.

a and p can be given as symbols or strings. They must have length 1 in characters because this is what CharacterRange expects.
• New in version 0.
• See: Section 2.2.
• Last update: 4-XI-2007 for version 0.9.3 of xTensor`.


Created by Mathematica  (May 16, 2008) Valid XHTML 1.1!