Registered Member
|
Hi ,
I want to use a pointer to access the matrix element in Eigen. How can I get the first address of a Eigen Matrix ? Thanks! What I want to do is : float *p = &A(0,0) //Eigen does not support this longflying |
Moderator
|
That's as easy as: A.data()
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]