1 #include <unsupported/Eigen/MatrixFunctions> 11 A <<
cos(pi/3), -
sin(pi/3),
13 std::cout <<
"The matrix A is:\n" << A <<
"\n\n";
14 std::cout <<
"The matrix square root of A is:\n" << A.sqrt() <<
"\n\n";
15 std::cout <<
"The square of the last matrix is:\n" << A.sqrt() * A.sqrt() <<
"\n";
Jet< T, N > cos(const Jet< T, N > &f)
Jet< T, N > acos(const Jet< T, N > &f)
Jet< T, N > sin(const Jet< T, N > &f)
Namespace containing all symbols from the Eigen library.
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A