Re: [eigen] Multiple dimensions Matrix

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


You are looking for tensors:
http://eigen.tuxfamily.org/dox-devel/unsupported/group__CXX11__Tensor__Module.html

On Mon, Aug 17, 2015 at 3:35 PM, Nuno Marques <n.marques21@xxxxxxxxxxx> wrote:
Hi there guys,

What is the best way of creating a multiple size matrix, something like:

Matrix[dynamic,fixed,fixed]

The code I pretend to convert is float[EST_BUF_SIZE][3][2] , where EST_BUF_SIZE is variable. I've been trying to find something on Eigen that can be used but then I just see 2D Matrix definitions, no 3D.

Off-topic: Also, is there a way of doing memset() for a Matrix<> or is automatically done?

Thanks in advance! Best regards,

---
Nuno Marques
Tenente Aluno de Transmissões (Eng)

Azambuja | Portugal

As the creation appears, the path is driven in the conscious feeling of madness and happiness, which returns, in multiple ways, to what we achieve in greatness...

Follow me in:
   

This message and any files herewith attached may contain confidential or privileged information and is intended solely for the use of the entity to which it is addressed. If you receive this message in error, please notify the sender immediately and delete this message and any files attached without copying them in any way.




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