From e9724c8ea293a1253593aba5c379980b85647dae Mon Sep 17 00:00:00 2001 From: Thomas Capricelli Date: Tue, 5 Jan 2010 01:22:53 +0100 Subject: [PATCH] accessor for the levenberg-marquardt parameter --- .../Eigen/src/NonLinearOptimization/LevenbergMarquardt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h b/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h index 2cf96eb14..d503b85e8 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +++ b/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h @@ -129,6 +129,8 @@ public: int njev; int iter; Scalar fnorm, gnorm; + + Scalar lm_param(void) { return par; } private: FunctorType &functor; int n;