Matrix exponentiation
ID: matrix-exponentiation
Compute a nonnegative integer power by repeated squaring. If , use ; if , use . This needs matrix multiplications and permits fast evaluation of fixed-order linear recurrences via a companion matrix. It is distinct from computing the matrix exponential .
New to topics? Read the docs here!