¡@

Home 

c++ Programming Glossary: arrayd

Mapping array back to an existing Eigen matrix

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

way to do it back. void foo MatrixXd matrix int n double arrayd new double n n map the input matrix to an array Map MatrixXd.. double n n map the input matrix to an array Map MatrixXd arrayd n n matrix do something with the array ....... map array back.. was really your intention. The instruction Map MatrixXd arrayd n n matrix copies the entries of matrix into arrayd . It is..