eigen/doc/snippets/Cwise_boolean_xor.cpp

3 lines
64 B
C++
Raw Normal View History

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