Documentation of 'jsci.maths.symbolic.Variable' Java class
Variable
jsci.maths.symbolic

Class Variable

    • Constructor Detail

      • Variable

        public Variable(java.lang.String n,
                        java.lang.Object valueSet)
        Parameters:
        n - the name (symbol) of the variable
        valueSet - the set to which the variable values belong, e.g. RealField.getInstance(). Note it is not the Class of the values (odd thing indeed).
    • Method Detail

      • setValue

        public void setValue(Member o)
        Set the value of the variable.
        Parameters:
        o - the value; can be null to unset the variable
      • getValue

        public Member getValue()
        Get the value of the variable.
        Returns:
        the value of the variable; null if the variable is unset.
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • evaluate

        public Expression evaluate()
        Description copied from class: Expression
        This method substitutes the variable with the variable values, if non-null; they can be Contants or other Expressions. Simplification is performed.
        Specified by:
        evaluate in class Expression
        Returns:
        the evaluated Expression. Can be a Constant.
      • getSet

        public java.lang.Object getSet()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.