Cwise_cos.cpp 74 Bytes
Newer Older
1
2
Array3d v(EIGEN_PI, EIGEN_PI / 2, EIGEN_PI / 3);
cout << v.cos() << endl;