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

3 lines
53 B
C++

Array3d v(8,27,64);
cout << v.pow(0.333333) << endl;