mercredi 7 novembre 2018

Initializing matrix of vectors C++ with eigen

My final goal is to have a matrix where each element is a vector using the eigen module with c++, so that I can do a summation of matrices. The data type I came up with is:

Matrix<Vector3d,256,256> Matrix_A;

for a 256x256 matrix where each element is of data type Vector3D. This doesn't work.. Is this even possible?

Aucun commentaire:

Enregistrer un commentaire