Function Reference
— Loadable Function: expm (a)

Return the exponential of a matrix, defined as the infinite Taylor series The Taylor series is not the way to compute the matrix exponential; see Moler and Van Loan, Nineteen Dubious Ways to Compute the Exponential of a Matrix, SIAM Review, 1978. This routine uses Ward's diagonal approximation method with three step preconditioning (SIAM Journal on Numerical Analysis, 1977). Diagonal approximations are rational polynomials of matrices whose Taylor series matches the first terms of the Taylor series above; direct evaluation of the Taylor series (with the same preconditioning steps) may be desirable in lieu of the approximation when is ill-conditioned.