Documentation of 'org.ddogleg.optimization.OptimizationDerivative' Java class
OptimizationDerivative
org.ddogleg.optimization

Interface OptimizationDerivative<State>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean computeDerivative(State state, double[][] gradient)
      Computes the gradient for each function with respect to model parameters.
      void setModel(double[] model)
      Specifies the current model parameters around which the gradient is computed.
    • Method Detail

      • setModel

        void setModel(double[] model)
        Specifies the current model parameters around which the gradient is computed.
        Parameters:
        model - Model parameters.
      • computeDerivative

        boolean computeDerivative(State state,
                                  double[][] gradient)

        Computes the gradient for each function with respect to model parameters. The derivative is a 2D array. The first axis is for each function and the second for each model parameter:

        derivative[i][j] = &partial; fi / &partial; pj

        Parameters:
        state - State of the system being examined.
        gradient - Gradient with respect to the current model parameters,
        Returns:
        true if successful or false if it failed.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.