[eigen] Access to the raw data of a Matrix / Vector ?

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I want to read (binary) into a big matrix. For that I need a pointer to the beginning of the raw data managed by the

Something like

MatrixXd A(m,n);

FILE.read( (char*) A.raw(), m*n*sizeof(double));

Many thanks for a hint,

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/