#include <mrpt/math/CLevenbergMarquardt.h>
Classes | |
struct | TResultInfo |
Public Types | |
typedef void(* | TFunctor )(const std::vector< NUMTYPE > &x, const std::vector< NUMTYPE > &y, std::vector< NUMTYPE > &out) |
The type of the function passed to execute. | |
Static Public Member Functions | |
static void | execute (std::vector< NUMTYPE > &out_optimal_x, const std::vector< NUMTYPE > &x0, TFunctor functor, const std::vector< NUMTYPE > &increments, const std::vector< NUMTYPE > &userParam, TResultInfo &out_info, bool verbose=false, const size_t &maxIter=200, const NUMTYPE tau=1e-3, const NUMTYPE e1=1e-8, const NUMTYPE e2=1e-8) |
Executes the LM-method, with derivatives estimated from "functor" Is a user-provided function which takes as input two vectors, in this order:
|
Refer to the wiki page for more details on the algorithm and usage.
Definition at line 47 of file CLevenbergMarquardt.h.
typedef void(* mrpt::math::CLevenbergMarquardtTempl< NUMTYPE >::TFunctor)(const std::vector< NUMTYPE > &x, const std::vector< NUMTYPE > &y, std::vector< NUMTYPE > &out) |
The type of the function passed to execute.
static void mrpt::math::CLevenbergMarquardtTempl< NUMTYPE >::execute | ( | std::vector< NUMTYPE > & | out_optimal_x, | |
const std::vector< NUMTYPE > & | x0, | |||
TFunctor | functor, | |||
const std::vector< NUMTYPE > & | increments, | |||
const std::vector< NUMTYPE > & | userParam, | |||
TResultInfo & | out_info, | |||
bool | verbose = false , |
|||
const size_t & | maxIter = 200 , |
|||
const NUMTYPE | tau = 1e-3 , |
|||
const NUMTYPE | e1 = 1e-8 , |
|||
const NUMTYPE | e2 = 1e-8 | |||
) | [static] |
Executes the LM-method, with derivatives estimated from "functor" Is a user-provided function which takes as input two vectors, in this order:
Page generated by Doxygen 1.5.7.1 for MRPT 0.6.5 SVN: at Mon Feb 23 13:35:09 EST 2009 |