Struct Scine::Utils::LevenbergMarquardt::LMFunctorΒΆ
-
struct
LMFunctor
Public Functions
-
LMFunctor
(UpdateFunctionManagerBase &updateFunctionManager) Constructor from the update function manager.
-
int
operator()
(const Eigen::VectorXd ¶meters, Eigen::VectorXd &fvec) const Calculates the errors for a given set of parameters.
-
int
df
(const Eigen::VectorXd ¶meters, Eigen::MatrixXd &fjac) const Calculates the Jacobian of the errors for a given set of parameters.
-
int
values
() const Getter for values.
- Return
Number of values m.
-
int
inputs
() const Getter for inputs.
- Return
Number of inputs n.
Public Members
-
int
m
Number of data points, i.e.
values.
-
int
n
The number of parameters, i.e.
inputs.
-
UpdateFunctionManagerBase &
updateFunctionManager_
The underlying update function manager.
-