[eigen] Parameters in Levenberg Marquard algorithm of wrong type?

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi!

Has anybody ever tried to use the LevenbergMarquardt class of the unsupported NonLinearOptimization module with complex values? I am asking, because all parameters specified in the Parameters struct are of type Scalar, which would result in std::complex<double> values. However, if I am not mistaken, these values should be real quantities, even if the underlying problem is complex.

Furthermore comparisons of the form
if (parameters.ftol < 0.) {...}
are used, while operator< should not be defined for complex values at all.

Would it not be preferable to use NumTraits<Scalar>::Real instead for the parameters?


Regards
Claas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/