2 #ifndef vnl_levenberg_marquardt_h_ 3 #define vnl_levenberg_marquardt_h_ 22 # include <vcl_msvc_warnings.h> 29 #include <vnl/algo/vnl_algo_export.h> 75 void diagnose_outcome()
const;
76 void diagnose_outcome(std::ostream&)
const;
94 static void lmdif_lsqfun(
long*
m,
long* n,
double* x,
95 double* fx,
long* iflag,
void* userdata);
96 static void lmder_lsqfun(
long*
m,
long* n,
double* x,
97 double* fx,
double* fJ,
long*,
long* iflag,
106 #endif // vnl_levenberg_marquardt_h_
An ordinary mathematical matrix.
vnl_nonlinear_minimizer is a base class for nonlinear optimization.
Abstract base for minimising functions.
vnl_matrix< double > fdjac_
bool minimize(vnl_vector_fixed< double, 4 > &x)
vnl_vector< double > vnl_levenberg_marquardt_minimize(vnl_least_squares_function &f, vnl_vector< double > const &initial_estimate)
Find minimum of "f", starting at "initial_estimate", and return.
bool minimize(vnl_vector_fixed< double, 1 > &x)
Levenberg Marquardt nonlinear least squares.
vnl_levenberg_marquardt(vnl_least_squares_function &f)
Initialize with the function object that is to be minimized.
bool minimize(vnl_vector_fixed< double, 2 > &x)
Base class for nonlinear optimization.
vnl_vector< T > extract(unsigned int len, unsigned int start=0) const
Returns a subvector specified by the start index and length. O(n).
Fixed length stack-stored, space-efficient vector.
Fixed length stack-stored vector.
vnl_matrix< double > inv_covar_
vnl_least_squares_function * f_
bool minimize(vnl_vector_fixed< double, 3 > &x)