image_framework_ymj/include/eigen3/doc/snippets/Cwise_sign.cpp

3 lines
45 B
C++
Raw Normal View History

2024-12-06 16:25:16 +08:00
Array3d v(-3,5,0);
cout << v.sign() << endl;