Re: [eigen] feature request: implement hybrid matrix class template

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


Yes, this allocates a static buffer for the matrix.

Adrien

On Monday, January 1, 2018, Andre Krause <post@xxxxxxxxxxxxxxxx> wrote:
But is that stack allocated , like the blaze hybrid matrix ?

Am 1. Januar 2018 11:39:21 MEZ schrieb Adrien Escande <adrien.escande@xxxxxxxxx>:
Hi Vincent,

Happy new year as well.
This feature is already implemented through the two last optional template parameters of the Matrix class (see http://eigen.tuxfamily.org/dox/group__TutorialMatrixClass.html).
If you want a matrix M with maximum size (6,4) for example, you can write
Matrix<double, Dynamic, Dynamic, 0, 6, 4> M;    // 0 specifies a column-major storage

Cheers,
Adrien

On Mon, Jan 1, 2018 at 6:27 PM, Vincent Hui <vincenthk007@xxxxxxxxx> wrote:
Hi,

Happy new year, In 2018, can hybrid matrix class template be implemented in Eigen? Hybrid matrix class template combines the flexibility of a dynamically sized matrix with the efficiency and performance of a fixed size matrix.

Thanks,
Vincent


--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet..


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