org.ddogleg.optimization.functions
Interface CoupledJacobian
-
- All Known Implementing Classes:
- Individual_to_CoupledJacobian
public interface CoupledJacobian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidcomputeFunctions(double[] output)voidcomputeJacobian(double[] jacobian)Processes the input parameters into the 2D Jacobian matrix.intgetM()Number of functions.intgetN()Number of input parameters being optimized.voidsetInput(double[] x)Specifies the input parameters.
-
-
-
Method Detail
-
getN
int getN()
Number of input parameters being optimized.
-
getM
int getM()
Number of functions.
-
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(double[] 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- Row major array with M rows and N columns.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG