Eigen::Map with vector of vectors

71 Views Asked by At

Simple question, but I couldn't find an answer: I have a raw pointer float* data and I want to interpret this as a Eigen::VectorX<Eigen::Vector3<float>>. Unfortunately, Eigen::Map<Eigen::VectorX<Eigen::Vector3<float>>> v(data, n) does not work. So, is it possible to obtain a view to an array of Vectors at all?

0

There are 0 best solutions below