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

3 lines
65 B
C++

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