eigen/doc/snippets/Cwise_acos.cpp

3 lines
55 B
C++
Raw Normal View History

Array3d v(0, sqrt(2.)/2, 1);
cout << v.acos() << endl;