eigen/doc/snippets/Cwise_boolean_xor.cpp

3 lines
63 B
C++
Raw Normal View History

2017-01-11 16:34:08 +08:00
Array3d v(-1,2,1), w(-3,2,3);
2017-01-05 06:08:27 +08:00
cout << ((v<w) ^ (v<0)) << endl;