Calculates the n-th power of a matrix.

1 | ```
mtx.exp(X, n)
``` |

`X` |
a square matrix |

`n` |
the exponential value |

This function calculates (efficiently!) the n-th power of a matrix.

Takes a matrix and returns a matrix.

Original code by VCC "beautyfied" by MM

Vincente Canto Cassola and Martin Maechler

...

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.