Go to the source code of this file.
|
std::complex< double > | expfn (std::complex< double > x, int) |
|
int | main () |
|
◆ expfn()
std::complex<double> expfn |
( |
std::complex< double > |
x, |
|
|
int |
|
|
) |
| |
Definition at line 6 of file MatrixFunction.cpp.
Eigen::AutoDiffScalar< EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Eigen::internal::remove_all_t< DerType >, typename Eigen::internal::traits< Eigen::internal::remove_all_t< DerType >>::Scalar, product) > exp(const Eigen::AutoDiffScalar< DerType > &x)
◆ main()
Definition at line 11 of file MatrixFunction.cpp.
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";
SparseMatrix< double > A(n, n)
std::complex< double > expfn(std::complex< double > x, int)
Eigen::AutoDiffScalar< EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Eigen::internal::remove_all_t< DerType >, typename Eigen::internal::traits< Eigen::internal::remove_all_t< DerType >>::Scalar, product) > acos(const Eigen::AutoDiffScalar< DerType > &x)