matrix exponentiation Algorithm

In mathematics, the matrix exponential is a matrix function on square matrix analogous to the ordinary exponential function. In the theory of Lie groups, the matrix exponential gives the connection between a matrix Lie algebra and the corresponding Lie group.

matrix exponentiation source code, pseudocode and analysis