computeDirect (Re: [eigen] Householder.h: ::min() and operator<=) |

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

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: computeDirect (Re: [eigen] Householder.h: ::min() and operator<=)*From*: Peter <list@xxxxxxxxxxxxxxxxx>*Date*: Fri, 9 Sep 2016 09:22:49 +0200

Dear Christoph, Am 08.09.2016 um 23:55 schrieb Peter:

Usually, you should use SelfAdjointEigenSolver::computeDirect for 2x2 (and 3x3) matrices. We could make runtime checks for n==2 and n==3, but especially the 3x3 method might be a tiny bit less accurate than the Householder based method.Mmmh, I tried SelfAdjointEigenSolver::computeDirect even for fixed size 2x2 and 3x3 matrices. It always calles Householder. I've added printing a debug message to line 79.

Using a Matrix<double> with dimension 2 or 3 fixed at compile time, Householder is not called from computeDirect, while it is called for Matrix<MyType>. Best regards, Peter

**Follow-Ups**:**Re: computeDirect (Re: [eigen] Householder.h: ::min() and operator<=)***From:*Christoph Hertzberg

**References**:**[eigen] Householder.h: ::min() and operator<=***From:*Peter

**Re: [eigen] Householder.h: ::min() and operator<=***From:*Christoph Hertzberg

**Re: [eigen] Householder.h: ::min() and operator<=***From:*Peter

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Householder.h: ::min() and operator<=** - Next by Date:
**Re: computeDirect (Re: [eigen] Householder.h: ::min() and operator<=)** - Previous by thread:
**Re: [eigen] Householder.h: ::min() and operator<=** - Next by thread:
**Re: computeDirect (Re: [eigen] Householder.h: ::min() and operator<=)**

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