eigen/doc/snippets/Cwise_boolean_and.cpp
2011-05-31 22:17:34 +02:00

3 lines
62 B
C++

Array3d v(-1,2,1), w(-3,2,3);
cout << (v<w) && (v>0) << endl;