1 #include <unsupported/Eigen/MatrixFunctions> 6 std::complex<double>
expfn(std::complex<double> x,
int)
20 std::cout <<
"The matrix A is:\n" << A <<
"\n\n";
21 std::cout <<
"The matrix exponential of A is:\n" 22 << A.matrixFunction(
expfn) <<
"\n\n";
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
std::complex< double > expfn(std::complex< double > x, int)
EIGEN_DEVICE_FUNC const AcosReturnType acos() const