1 #include <unsupported/Eigen/MatrixFunctions> 8 Matrix4cd
A = Matrix4cd::Random();
11 std::cout <<
"The matrix A is:\n" << A <<
"\n\n" 12 "A^3.1 is:\n" << Apow(3.1) <<
"\n\n" 13 "A^3.3 is:\n" << Apow(3.3) <<
"\n\n" 14 "A^3.7 is:\n" << Apow(3.7) <<
"\n\n" 15 "A^3.9 is:\n" << Apow(3.9) << std::endl;
Class for computing matrix powers.
Namespace containing all symbols from the Eigen library.
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A