Is it possible to create a vector of Eigen Matrix?
For example, I run the following line,
vector<Matrix<double,4,1>> vector_of_matrix;
but I receive the following error,
error: template argument 3 is invalid
error: template argument 4 is invalid
error: template argument 6 is invalid
error: template argument 1 is invalid
Anyone care to enlighten me as to how we would properly initialise a vector of eigen matrices? Note, I have considered the Eigen dynamic sized matrix as an alternative, but I do not want this.
#include <Eigen/StdVector>
? – Argol.../eigen3
, so the #include's in the header files could get the internal header files. – Argol/usr/include/eigen3
to the include path for your project to fix the problem. – Contrive