Documentation of 'org.jquantlib.math.optimization.LeastSquareFunction' Java class
LeastSquareFunction
org.jquantlib.math.optimization

Class LeastSquareFunction

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void gradient(Array grad_f, Array x)
      Method to overload to compute gradient(f), the first derivative of the cost function with respect to
      double value(Array x)
      Method to overload to compute the cost function value in
      double valueAndGradient(Array grad_f, Array x)
      Method to overload to compute gradient(f), the first derivative of the cost function with respect to and also the cost function
      Array values(Array x)
      Method to overload to compute the cost function values in
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • value

        public double value(Array x)
        Description copied from class: CostFunction
        Method to overload to compute the cost function value in
        Specified by:
        value in class CostFunction
      • gradient

        public void gradient(Array grad_f,
                             Array x)
        Description copied from class: CostFunction
        Method to overload to compute gradient(f), the first derivative of the cost function with respect to
        Overrides:
        gradient in class CostFunction
      • valueAndGradient

        public double valueAndGradient(Array grad_f,
                                       Array x)
        Description copied from class: CostFunction
        Method to overload to compute gradient(f), the first derivative of the cost function with respect to and also the cost function
        Overrides:
        valueAndGradient in class CostFunction

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.