Matpower {MiscMath}R Documentation

Matrix Power

Description

Implementation of efficient algorithm to compute the pth power of a matrix.

Usage

Matpower(X, p) 

Arguments

X

numeric square matrix

p

integer: nonnegative exponent.

Value

a matrix containing the pth power of X.

References

Golub and Van Loan (1983) Matrix Computations. Algorithm 11.2-1. p. 393.


[Package MiscMath version 1.1 Index]