powered by
Implementation of efficient algorithm to compute the pth power of a matrix.
Matpower(X, p)
a matrix containing the pth power of X.
numeric square matrix
integer: nonnegative exponent.
Golub and Van Loan (1983) Matrix Computations. Algorithm 11.2-1. p. 393.