This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Manipulate raw memory of MatrixXd/VectorXd

Tags: None
(comma "," separated)
bladeliu
Registered Member
Posts
1
Karma
0
Hi,

I'm a C++ developer, and would like to manipulate raw memory inside MatrixXd and VectorXd. Handling memory address can create many "shadow matrices" by combining different rows/columns, given their values are unchanged.

The data accessed by Eigen::MatraixXd.data( ) is empty, but the matrix actually holds non-empty values. I'm still confused by the Map method. It there a convenient way to directly manipulate memory in MatrixXd?

Thanks a lot.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]