Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ matrix_exp()

template<typename T , typename = require_eigen_t<T>>
plain_type_t< T > stan::math::matrix_exp ( const T &  A_in)
inline

Return the matrix exponential of the input matrix.

Template Parameters
Ttype of the matrix
Parameters
[in]A_inMatrix to exponentiate.
Returns
Matrix exponential, dynamically-sized.
Exceptions
<code>std::invalid_argument</code>if the input matrix is not square.

Definition at line 25 of file matrix_exp.hpp.