Class VariablePower

  • All Implemented Interfaces:
    Function

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

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

      • VariablePower

        public VariablePower​(int parameterIndex,
                             java.lang.String name,
                             int power)
    • 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