This repo contains a simple matrix exponential algorithm (is also works for scalars but is less useful) based on a Chebyshev series expansion and scaling and squaring. A nice intro reference is this talk: https://www5.in.tum.de/persons/waldherr/Folien/PMAA.pdf