Registered Member
|
Hello,
How can write the following Matlab max in Eigen?
TIA, Best regards, Giovanni |
Moderator
|
Array3d a, b;
a << 1, 2, 3; b = (a-1.5).max(); If you are using matrices or vectors instead of array, use vec.array() to get access to array API. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]