|
Blender V4.3
|
#include <levenberg_marquardt.h>
Classes | |
| struct | Results |
| struct | SolverParameters |
Public Types | |
| enum | Status { RUNNING , GRADIENT_TOO_SMALL , RELATIVE_STEP_SIZE_TOO_SMALL , ERROR_TOO_SMALL , HIT_MAX_ITERATIONS } |
| typedef Function::XMatrixType::RealScalar | Scalar |
| typedef Function::FMatrixType | FVec |
| typedef Function::XMatrixType | Parameters |
| typedef Matrix< typename Function::FMatrixType::RealScalar, Function::FMatrixType::RowsAtCompileTime, Function::XMatrixType::RowsAtCompileTime > | JMatrixType |
| typedef Matrix< typename JMatrixType::RealScalar, JMatrixType::ColsAtCompileTime, JMatrixType::ColsAtCompileTime > | AMatrixType |
Public Member Functions | |
| LevenbergMarquardt (const Function &f) | |
| Status | Update (const Parameters &x, const SolverParameters ¶ms, JMatrixType *J, AMatrixType *A, FVec *error, Parameters *g) |
| Results | minimize (Parameters *x_and_min) |
| Results | minimize (const SolverParameters ¶ms, Parameters *x_and_min) |
Definition at line 46 of file levenberg_marquardt.h.
| typedef Matrix<typename JMatrixType::RealScalar, JMatrixType::ColsAtCompileTime, JMatrixType::ColsAtCompileTime> libmv::LevenbergMarquardt< Function, Jacobian, Solver >::AMatrixType |
Definition at line 58 of file levenberg_marquardt.h.
| typedef Function::FMatrixType libmv::LevenbergMarquardt< Function, Jacobian, Solver >::FVec |
Definition at line 49 of file levenberg_marquardt.h.
| typedef Matrix<typename Function::FMatrixType::RealScalar, Function::FMatrixType::RowsAtCompileTime, Function::XMatrixType::RowsAtCompileTime> libmv::LevenbergMarquardt< Function, Jacobian, Solver >::JMatrixType |
Definition at line 54 of file levenberg_marquardt.h.
| typedef Function::XMatrixType libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Parameters |
Definition at line 50 of file levenberg_marquardt.h.
| typedef Function::XMatrixType::RealScalar libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Scalar |
Definition at line 48 of file levenberg_marquardt.h.
| enum libmv::LevenbergMarquardt::Status |
| Enumerator | |
|---|---|
| RUNNING | |
| GRADIENT_TOO_SMALL | |
| RELATIVE_STEP_SIZE_TOO_SMALL | |
| ERROR_TOO_SMALL | |
| HIT_MAX_ITERATIONS | |
Definition at line 62 of file levenberg_marquardt.h.
|
inline |
Definition at line 70 of file levenberg_marquardt.h.
|
inline |
Definition at line 116 of file levenberg_marquardt.h.
References A, error(), libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Results::error_magnitude, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Results::gradient_magnitude, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::HIT_MAX_ITERATIONS, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Results::iterations, LOG, params, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::RELATIVE_STEP_SIZE_TOO_SMALL, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::RUNNING, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Results::status, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::Update(), v, and VLOG.
|
inline |
Definition at line 111 of file levenberg_marquardt.h.
References libmv::LevenbergMarquardt< Function, Jacobian, Solver >::minimize(), and params.
Referenced by libmv::LevenbergMarquardt< Function, Jacobian, Solver >::minimize().
|
inline |
Definition at line 93 of file levenberg_marquardt.h.
References error(), libmv::LevenbergMarquardt< Function, Jacobian, Solver >::ERROR_TOO_SMALL, libmv::LevenbergMarquardt< Function, Jacobian, Solver >::GRADIENT_TOO_SMALL, params, and libmv::LevenbergMarquardt< Function, Jacobian, Solver >::RUNNING.
Referenced by libmv::LevenbergMarquardt< Function, Jacobian, Solver >::minimize().