eigen/doc/snippets/Cwise_greater_equal.cpp

3 lines
58 B
C++

Array3d v(1, 2, 3), w(3, 2, 1);
cout << (v >= w) << endl;