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

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

*To*: <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: Re: [eigen] Parameters in Levenberg Marquard algorithm of wrong type?*From*: "Claas H. Köhler" <claas.koehler@xxxxxx>*Date*: Tue, 20 Mar 2012 13:19:31 +0100*Organization*: Deutsches Zentrum für Luft-und Raumfahrt

Hi Thomas!

While looking at the code, some quesions arose:

Regards Claas On 16/03/12 20:16, orzel@xxxxxxxxxxxxxxx wrote:

Mmh, indeed, i've never considered complex with those. You probably right, I'll check about patching this Thomas On 15/03/2012 18:34, "Claas H. Köhler" wrote: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

-- Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)

Claas H. Köhler Telefon 08153 28-1274 | Telefax 08153 28-1337 | claas.koehler@xxxxxx www.DLR.de/EOC

**Follow-Ups**:

**References**:**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*Claas H . Köhler

**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*Mark Borgerding

**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*"Claas H. Köhler"

**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*Gael Guennebaud

**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*"Claas H. Köhler"

**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*Gael Guennebaud

**Re: [eigen] Eigen 3.0.5 Could NOT find FFTW (missing: FFTW_INCLUDES)***From:*Mark Borgerding

**[eigen] Parameters in Levenberg Marquard algorithm of wrong type?***From:*"Claas H. Köhler"

**Re: [eigen] Parameters in Levenberg Marquard algorithm of wrong type?***From:*orzel

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] non-linear optimization test summary** - Next by Date:
**Re: [eigen] Parameters in Levenberg Marquard algorithm of wrong type?** - Previous by thread:
**Re: [eigen] Parameters in Levenberg Marquard algorithm of wrong type?** - Next by thread:
**Re: [eigen] Parameters in Levenberg Marquard algorithm of wrong type?**

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