1 #include <unsupported/Eigen/MatrixFunctions> 13 std::cout <<
"The matrix A is:\n" << A <<
"\n\n" 14 "The matrix power A^(pi/4) is:\n" << A.pow(pi/4) << std::endl;
EIGEN_DEVICE_FUNC const CosReturnType cos() const
EIGEN_DEVICE_FUNC const AcosReturnType acos() const
EIGEN_DEVICE_FUNC const SinReturnType sin() const