Matpower: Matrix Power

View source: R/Matpower.R

MatpowerR 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.


MiscMath documentation built on April 13, 2025, 9:07 a.m.