#include <vnl_levenberg_marquardt.h>
Inheritance diagram for vnl_levenberg_marquardt:
Public Methods | |
vnl_levenberg_marquardt (vnl_least_squares_function &f) | |
vnl_levenberg_marquardt (vnl_least_squares_function &f, vnl_vector< double > &x) | |
~vnl_levenberg_marquardt () | |
bool | minimize_without_gradient (vnl_vector< double > &x) |
bool | minimize_using_gradient (vnl_vector< double > &x) |
bool | minimize (vnl_vector< double > &x) |
void | diagnose_outcome () const |
void | diagnose_outcome (vcl_ostream &) const |
vnl_matrix< double > const & | get_JtJ () |
Protected Methods | |
void | init (vnl_least_squares_function *f) |
Static Protected Methods | |
int | lmdif_lsqfun (int *m, int *n, const double *x, double *fx, int *iflag) |
int | lmder_lsqfun (int *m, int *n, const double *x, double *fx, double *fJ, int &, int *iflag) |
Protected Attributes | |
vnl_least_squares_function * | f_ |
vnl_matrix< double > * | fdjac_ |
vnl_vector< int > * | ipvt_ |
vnl_matrix< double > * | covariance_ |
bool | set_covariance_ |
Friends | |
class | vnl_levenberg_marquardt_Activate |
Definition at line 33 of file vnl_levenberg_marquardt.h.
|
Initialize with the function object that is to be minimized. Definition at line 38 of file vnl_levenberg_marquardt.h. |
|
Initialize as above, and then run minimization. Definition at line 42 of file vnl_levenberg_marquardt.h. |
|
|
|
|
|
Provide an ASCII diagnosis of the last minimization on ostream. |
|
Return J'*J computed at last minimum. |
|
Referenced by vnl_levenberg_marquardt(). |
|
|
|
|
|
Definition at line 58 of file vnl_levenberg_marquardt.h. References covariance_, f_, fdjac_, ipvt_, and set_covariance_. Referenced by vnl_levenberg_marquardt(). |
|
|
|
Minimize the function supplied in the constructor until convergence. or failure. On return, x is such that f(x) is the lowest value achieved. Returns true for convergence, false for failure. |
|
Definition at line 83 of file vnl_levenberg_marquardt.h. |
|
Definition at line 77 of file vnl_levenberg_marquardt.h. Referenced by minimize(). |
|
Definition at line 73 of file vnl_levenberg_marquardt.h. Referenced by minimize(). |
|
Definition at line 74 of file vnl_levenberg_marquardt.h. Referenced by minimize(). |
|
Definition at line 75 of file vnl_levenberg_marquardt.h. Referenced by minimize(). |
|
Definition at line 78 of file vnl_levenberg_marquardt.h. Referenced by minimize(). |