|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LMObjective
This is the interface implemented by a cost function suitable for optimization using the Levenberg-Marquardt algorithm. Note this is for a generic minimization, not a least squares fit.
| Method Summary | |
|---|---|
cern.colt.matrix.DoubleMatrix1D |
gradient(cern.colt.matrix.DoubleMatrix1D x)
Called to compute the gradient of the function at x, for each member of x. |
cern.colt.matrix.DoubleMatrix2D |
hessian(cern.colt.matrix.DoubleMatrix1D x)
Computes an exact or approximated Hessian of the function at x. |
double |
value(cern.colt.matrix.DoubleMatrix1D x)
Called to compute the value of the function at x |
| Method Detail |
|---|
double value(cern.colt.matrix.DoubleMatrix1D x)
x - The input vector to use in the calculation
cern.colt.matrix.DoubleMatrix1D gradient(cern.colt.matrix.DoubleMatrix1D x)
x - The input vector to use in the calculation.
cern.colt.matrix.DoubleMatrix2D hessian(cern.colt.matrix.DoubleMatrix1D x)
x - The input vector to use in the calculation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||