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*: Tim Holy <holy@xxxxxxxxx>*Date*: Tue, 20 Mar 2012 13:47:19 -0500

Hi Claas, On Tuesday, March 20, 2012 07:19:31 am Claas H. Köhler wrote: > - Is there a reason why all local temporary variables (e.g temp, temp1, > pnorm...) are defined as class members, instead of defining locally > where needed? I don't know specifically for this case, but in general it's for cases where you call the same algorithm many times in one program. If you put them in the class, you only have to allocate the storage once, when you first construct the solver. If they are local to the function, you have to allocate them each time the function is called. In many cases, that's a major overhead and significantly hurts performance. Best, --Tim

**Follow-Ups**:

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

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

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

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Parameters in Levenberg Marquard algorithm of wrong type?** - 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/ |