Interface CoupledJacobian<S extends DMatrix>

All Superinterfaces:
FunctionInOut
All Known Implementing Classes:
Individual_to_CoupledJacobian

public interface CoupledJacobian<S extends DMatrix>
extends FunctionInOut
  • Method Details

    • setInput

      void setInput​(double[] x)
      Specifies the input parameters. The user can modify these values and they will be modified inside the optimization function too.
      Parameters:
      x - Optimization parameters.
    • computeFunctions

      void computeFunctions​(double[] output)
    • computeJacobian

      void computeJacobian​(S jacobian)

      Processes the input parameters into the 2D Jacobian matrix. The matrix has a dimension of M rows and N columns and is formatted as a row major 1D-array. EJML can be used to provide a matrix wrapper around the output array: DenseMatrix J = DenseMatrix.wrap(m,n,output);

      The user can modify the input parameters here and the optimizer must use those changes.

      Parameters:
      jacobian - matrix with M rows and N columns.