eigen/doc/snippets/Cwise_tan.cpp
2011-02-03 14:34:40 +01:00

3 lines
58 B
C++

Array3d v(M_PI, M_PI/2, M_PI/3);
cout << v.tan() << endl;