reactphysics3d/testbed/nanogui/ext/eigen/doc/snippets/Cwise_atan.cpp

3 lines
65 B
C++
Raw Normal View History

ArrayXd v = ArrayXd::LinSpaced(5,0,1);
cout << v.atan() << endl;