aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_cwiseMax.cpp
blob: 3c956818bd5f5f162c67c6f9b06f6e7b50aa4693 (plain)
1
2
Vector3d v(2,3,4), w(4,2,3);
cout << v.cwiseMax(w) << endl;