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

Is there any functions like "find" for MatrixXd

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

I have a matrix of type "MatrixXd", initialized by: MatrixXd a = MatrixXd::Random(5, 6);

Is there any functions in Eigen like "find" in matlab, that could output the corresponding entries: find(a > 0.5) in matlab or octave..

Or like numpy.where in python: import numpy as np
np.where(a > 0.5) ?
eranb
Registered Member
Posts
11
Karma
0


Bookmarks



Who is online

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