Class Variable

  • All Implemented Interfaces:
    Function

    public class Variable
    extends java.lang.Object
    implements Function
    • Constructor Summary

      Constructors 
      Constructor Description
      Variable​(int parameterIndex, java.lang.String name)  
    • Constructor Detail

      • Variable

        public Variable​(int parameterIndex,
                        java.lang.String name)
    • Method Detail

      • getValue

        public double getValue​(double[] parameters)
        Specified by:
        getValue in interface Function
      • getPartialDerivative

        public double getPartialDerivative​(int parameterIndex,
                                           double[] parameters)
        Specified by:
        getPartialDerivative in interface Function
      • toString

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

        public java.lang.String toLatex()
        Specified by:
        toLatex in interface Function
      • isConstant

        public boolean isConstant()
        Specified by:
        isConstant in interface Function
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object