Interface FunctionNtoMxN<S extends DMatrix>

All Superinterfaces:
FunctionInOut
All Known Implementing Classes:
NumericalJacobianFB, NumericalJacobianForward_DDRM, NumericalJacobianForward_DSCC, SchurJacobian_to_NtoMxN, SchurJacobian_to_NtoMxN.DDRM, SchurJacobian_to_NtoMxN.DSCC

public interface FunctionNtoMxN<S extends DMatrix> extends FunctionInOut
Function that takes in a vector of length N and outputs a matrix with dimension M x N.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a matrix which can store the jacobian.
    void
    process(double[] input, S output)
    Processes the input vector to output a 2D a matrix.

    Methods inherited from interface org.ddogleg.optimization.functions.FunctionInOut

    getNumOfInputsN, getNumOfOutputsM
  • Method Details

    • process

      void process(double[] input, S output)

      Processes the input vector to output a 2D a matrix. The matrix has a dimension of M rows and N columns and is formatted as a row major 1D-array.

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

      Parameters:
      input - Vector with input parameters.
      output - Row major array with M rows and N columns.
    • declareMatrixMxN

      S declareMatrixMxN()
      Creates a matrix which can store the jacobian. Size is set by M and N
      Returns:
      new instance of a matrix