1 year ago

#387971

test-img

Ernest

Eigen Dynamic Matrix with Max-Size at Compile Time: Stack or Heap?

If I declare a matrix via

Eigen::Matrix<int,Eigen::Dynamic,Eigen::Dynamic,Eigen::ColMajor,128,128> myMat;

will it be allocated on the stack or on the heap? Is there a simple way to force such a matrix to be on the heap?

eigen

0 Answers

Your Answer

Accepted video resources