Documentation of 'org.matheclipse.core.expression.ASTRange' Java class
ASTRange
org.matheclipse.core.expression

Class ASTRange

  • All Implemented Interfaces:
    java.lang.Iterable<IExpr>


    public class ASTRange
    extends Range
    Create a range for a given IAST instance.
    • Constructor Detail

      • ASTRange

        public ASTRange(IAST list,
                        int start,
                        int end)
        Construct a range [start..end[ for a given IAST instance.
        Parameters:
        list -
        start -
        end -
        Throws:
        java.lang.IndexOutOfBoundsException - if start or end aren't valid.
      • ASTRange

        public ASTRange(IAST list,
                        int start)
        Construct a range [start..list.size()[ for a given IAST instance.
        Parameters:
        list -
        start -
        Throws:
        java.lang.IndexOutOfBoundsException - if start isn't valid.
      • ASTRange

        public ASTRange(IAST list)
        ASTRange [0..list.size()[. This range includes all arguments of a function. The head of 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

You see the box below because you did not login.