RE: [eigen] Multiple dimensions Matrix

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


I got the problem solved by adding ../../ or ../../../ on the includes of CXX11/Tensor and CXX11/Core when needed. Is this supposed to be like this and if yes, can any of the developers launch a fix on the default repo?

Thanks in advance!

Best,

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

+351 912 090 991
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.



From: n.marques21@xxxxxxxxxxx
To: eigen@xxxxxxxxxxxxxxxxxxx
Subject: RE: [eigen] Multiple dimensions Matrix
Date: Tue, 18 Aug 2015 02:22:02 +0100

Thanks... but I'm not being able to use Tensor at all. I already added to my header #include <unsupported/Eigen/CXX11/Tensor>  but it doesn't find the headers at all:

In file included from /home/nuno/dev_px4/apply_eigen_math/Firmware/src/lib/px4_eigen.h:53:0,
                 from /home/nuno/dev_px4/apply_eigen_math/Firmware/src/modules/position_estimator_inav/position_estimator_inav_main.cpp:49:
/home/nuno/dev_px4/apply_eigen_math/Firmware/src/lib/eigen/unsupported/Eigen/CXX11/Tensor:14:46: fatal error: Eigen/src/Core/util/StaticAssert.h: No such file or directory
 #include "Eigen/src/Core/util/StaticAssert.h"
                                              ^
compilation terminated.

Is there something I should be aware of so this can works? Thanks!

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

+351 912 090 991
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.



Date: Mon, 17 Aug 2015 16:08:30 -0700
Subject: Re: [eigen] Multiple dimensions Matrix
From: vanhoucke@xxxxxxxxxx
To: eigen@xxxxxxxxxxxxxxxxxxx


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/