matpower: Power of a matrix

Description Usage Arguments Details Value Examples

View source: R/sSDR.R

Description

Power of a matrix

Usage

1
matpower(X, alpha)

Arguments

X

A p x p square matrix.

alpha

A scaler determining the order of the power.

Details

This function calculates the power of a square matrix.

Value

A p x p square matrix.

Examples

1
2
data <- gen.data(n=100)
cov.squared <- matpower(cov.x(data$X), 2)

sSDR documentation built on May 1, 2019, 8:23 p.m.

Related to matpower in sSDR...