org.matheclipse.core.expression
Class ASTRange
- java.lang.Object
-
- org.matheclipse.core.eval.Range
-
- org.matheclipse.core.expression.ASTRange
-
-
Constructor Summary
Constructors Constructor and Description ASTRange(IAST list)ASTRange[0..list.size()[.ASTRange(IAST list, int start)Construct a range[start..list.size()[for a givenIASTinstance.ASTRange(IAST list, int start, int end)Construct a range[start..end[for a givenIASTinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<IExpr>toList()Append this ranges elements to a new created List-
Methods inherited from class org.matheclipse.core.eval.Range
all, all, any, any, compareAdjacent, complement, contains, containsAll, count, countIf, difference, filter, filter, filter, filter, findAdjacent, findAdjacent, findAdjacent, foldLeft, foldRight, forEach, get, getEnd, getList, getStart, indexOf, indexOf, indexOf, indexOf, intersection, iterator, lastIndexOf, lastIndexOf, map, map, map, mapLeft, mapRight, max, min, removeAll, replaceAll, reverse, rotateLeft, rotateRight, size, sort, toArray, toList, union
-
-
-
-
Constructor Detail
-
ASTRange
public ASTRange(IAST list, int start, int end)
Construct a range[start..end[for a givenIASTinstance.- Parameters:
list-start-end-- Throws:
java.lang.IndexOutOfBoundsException- ifstartorendaren't valid.
-
ASTRange
public ASTRange(IAST list, int start)
Construct a range[start..list.size()[for a givenIASTinstance.- Parameters:
list-start-- Throws:
java.lang.IndexOutOfBoundsException- ifstartisn't valid.
-
ASTRange
public ASTRange(IAST list)
ASTRange[0..list.size()[. This range includes all arguments of a function. Theheadof the function is stored at index 0- Parameters:
list-
-
-
Method Detail
-
toList
public java.util.List<IExpr> toList()
Append this ranges elements to a new created List
-
-
DMelt 3.0 © DataMelt by jWork.ORG