Documentation of 'org.matheclipse.core.convert.ExprVariables' Java class
ExprVariables
org.matheclipse.core.convert

Class ExprVariables



  • public class ExprVariables
    extends java.lang.Object
    Determine the variable symbols from a Symja expression.
    • Constructor Detail

      • ExprVariables

        public ExprVariables()
        Create an empty instance
      • ExprVariables

        public ExprVariables(IExpr expression)
        Determine the variable symbols from a Symja expression.
    • Method Detail

      • add

        public boolean add(ISymbol symbol)
        Add the symbol to the set of variables.
        Parameters:
        symbol -
        Returns:
        true if the underlying set did not already contain the symbol
      • addVarList

        public void addVarList(IExpr expression)
        Add the variables of the given expression
        Parameters:
        expression -
      • contains

        public boolean contains(IExpr o)
        Parameters:
        o -
        Returns:
        See Also:
        Set.contains(java.lang.Object)
      • containsAll

        public boolean containsAll(java.util.Collection<? extends IExpr> c)
        Parameters:
        c -
        Returns:
        See Also:
        Set.containsAll(java.util.Collection)
      • getVarList

        public IAST getVarList()
        Returns:
        the varList
      • getArrayList

        public java.util.List<IExpr> getArrayList()
      • getVarListAsString

        public java.lang.String[] getVarListAsString()
      • isEmpty

        public boolean isEmpty()
        Returns:
        See Also:
        Set.isEmpty()
      • isSize

        public boolean isSize(int size)
        Check if the expression contains the given number of variables.
        Parameters:
        expr -
        Returns:
        true if the expr contains the given number of variables.
      • toArray

        public IExpr[] toArray(IExpr[] a)
        Parameters:
        a -
        Returns:
        See Also:
        java.util.Set#toArray(T[])

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.