1
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-05-24 23:26:59 +08:00
eigen/doc/snippets/MatrixBase_cwiseMax.cpp

3 lines
64 B
C++

Vector3d v(2, 3, 4), w(4, 2, 3);
cout << v.cwiseMax(w) << endl;