Interface LeastSquaresSwitcher.JacobianOut

Enclosing class:
LeastSquaresSwitcher<S extends DMatrix>

public static interface LeastSquaresSwitcher.JacobianOut
Abstracts writing to the Jacobian so that LeastSquaresSwitcher.ProcessJacobianOut doesn't need to know the format
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMatrixToJacobian(int row, int col, double[] values, int numRows, int numCols)
    Adds the local matrix into the system Jacobian.
  • Method Details

    • addMatrixToJacobian

      void addMatrixToJacobian(int row, int col, double[] values, int numRows, int numCols)
      Adds the local matrix into the system Jacobian. Assumes the matrix is stored in a row-major format.
      Parameters:
      row - Row in system Jacobian it should start writing to
      col - Column in system Jacobian it should start writing to
      values - Element values in local matrix
      numRows - Number of rows in local matrix
      numCols - Number of columns in local matrix