¡@

Home 

c++ Programming Glossary: matrixxd

Mapping array back to an existing Eigen matrix

http://stackoverflow.com/questions/12003692/mapping-array-back-to-an-existing-eigen-matrix

matrix I want to map an array of double to an existing MatrixXd structure. So far I've managed to map the Eigen matrix to a.. array but I can't find the way to do it back. void foo MatrixXd matrix int n double arrayd new double n n map the input matrix.. arrayd new double n n map the input matrix to an array Map MatrixXd arrayd n n matrix do something with the array ....... map array..