abtem.bloch.matrix_exponential

abtem.bloch.matrix_exponential#

Module Contents#

Functions#

expm

Compute the matrix exponential.

Data#

API#

abtem.bloch.matrix_exponential.b#

[6.476475253248e+16, 3.238237626624e+16, 7771770303897600.0, 1187353796428800.0, 129060195264000.0, …

abtem.bloch.matrix_exponential.expm(...) ndarray#

Compute the matrix exponential.

Parameters:

a (ndarray, 2D)

Return type:

matrix exponential of a

Notes

Uses (a simplified) version of Algorithm 2.3 of Higham (2005): a [13 / 13] Pade approximant with scaling and squaring.

Simplifications:

  • we always use a [13/13] approximate

  • no matrix balancing

References

Higham, N. SIAM J. MATRIX ANAL. APPL. Vol. 26(4), p. 1179 (2005).

https://doi.org/10.1137/04061101X

abtem.bloch.matrix_exponential.th13#

5.37