scipy.sparse.linalg.expm

scipy.sparse.linalg.expm(A)[source]

Compute the matrix exponential using Pade approximation.

New in version 0.12.0.

Parameters :

A : (M,M) array or sparse matrix

2D Array or Matrix (sparse or dense) to be exponentiated

Returns :

expA : (M,M) ndarray

Matrix exponential of A

References

N. J. Higham, “The Scaling and Squaring Method for the Matrix Exponential Revisited”, SIAM. J. Matrix Anal. & Appl. 26, 1179 (2005).

Previous topic

scipy.sparse.linalg.inv

Next topic

scipy.sparse.linalg.spsolve