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

how to get access to a specific row/col

Tags: None
(comma "," separated)
siciliner
Registered Member
Posts
7
Karma
0
Hi, I am new to Eigen, forgive me if I ask stupid questions.

In matlab, we can use x(i,:) or x(:,i) to get a specific row/col, i was wondering if there is something similar in Eigen.

Thanks very much.
manuels
Registered Member
Posts
47
Karma
0
Just use x.col(i) x.row(i)

This will be helpful in the beginning:
http://eigen.tuxfamily.org/dox-devel/QuickRefPage.html
siciliner
Registered Member
Posts
7
Karma
0
Thank you very much, manuels.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient