Package org.ddogleg.optimization
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 TypeMethodDescriptionvoidaddMatrixToJacobian(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 tocol- Column in system Jacobian it should start writing tovalues- Element values in local matrixnumRows- Number of rows in local matrixnumCols- Number of columns in local matrix
-