Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

MatrixPower

Matrix Power


Description

Performs the matrix power opperation.

Usage

MatrixPower(A, n)

Arguments

A

A square matrix.

n

An integer telling the exponent.

Details

Only well defined for integers the matrix power opperation is a convenience function to multipy a matrix, A, with itself n times.

Value

A matrix of the same dimention as A.

Author(s)

Andrew Redd <aredd at stat.tamu.edu>

Examples

A<-rbind(0,cbind(diag(1:5),0))  #a nilpotent matrix
A
MatrixPower(A,3)
MatrixPower(A,5)
MatrixPower(A,6)    #Gets to a zero matrix

orthogonalsplinebasis

Orthogonal B-Spline Basis Functions

v0.1.6
GPL (>= 2)
Authors
Andrew Redd
Initial release
2015-03-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.