NOTE: If multiple input parameters are modified by the function when a single one is changed numerical derivatives aren't reliable.
Method SummaryModifier and TypeMethodDescriptionCreates a matrix which can store the jacobian.
intNumber of input elements.
intNumber of output elements.
voidProcesses the input vector to output a 2D a matrix.
getNumOfInputsNpublic int getNumOfInputsN()Description copied from interface:
FunctionInOutNumber of input elements. Typically the parameters you are optimizing.
getNumOfOutputsMpublic int getNumOfOutputsM()Description copied from interface:
FunctionInOutNumber of output elements. Typically the functions that are being optimized.
processpublic void process
(double input, DMatrixRMaj jacobian)Description copied from interface:
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.
declareMatrixMxNpublic DMatrixRMaj declareMatrixMxN()Description copied from interface:
FunctionNtoMxNCreates a matrix which can store the jacobian. Size is set by M and N