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

mpow

Power of a Matrix


Description

%^% calculates x^p for the square matrix, x, by spectral decomposition.

Usage

x%^%p

Arguments

x

A square matrix.

p

The power to which the matrix is to be raised.

Value

%^% returns the power of a matrix.

Author(s)

J.K. Lindsey

Examples

## Not run: 
x <- matrix(c(0.4,0.6,0.6,0.4),nrow=2)
x%^%2
x%^%10
x%^%20

## End(Not run)

rmutil

Utilities for Nonlinear Regression and Repeated Measurements Models

v1.1.5
GPL-2
Authors
Bruce Swihart [cre, aut], Jim Lindsey [aut] (Jim created this package, Bruce is maintaining the CRAN version)
Initial release

We don't support your browser anymore

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