eigen/doc/snippets/Cwise_tan.cpp

3 lines
62 B
C++
Raw Normal View History

Array3d v(M_PI, M_PI / 2, M_PI / 3);
2011-02-03 21:34:40 +08:00
cout << v.tan() << endl;