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

3 lines
58 B
C++
Raw Normal View History

2024-12-06 16:25:16 +08:00
Array3d v(M_PI, M_PI/2, M_PI/3);
cout << v.cos() << endl;