Stan Math Library
4.9.0
Automatic Differentiation
|
Eigen::Matrix< value_type_t< EigMat >, Eigen::Dynamic, Eigen::Dynamic > stan::math::matrix_exp_2x2 | ( | const EigMat & | A | ) |
Return the matrix exponential of a 2x2 matrix.
Reference for algorithm: http://mathworld.wolfram.com/MatrixExponential.html Note: algorithm only works if delta > 0;
EigMat | type of the matrix |
[in] | A | 2x2 matrix to exponentiate. |
Definition at line 26 of file matrix_exp_2x2.hpp.