matpower {sSDR} | R Documentation |
Power of a matrix
matpower(X, alpha)
X |
A p x p square matrix. |
alpha |
A scaler determining the order of the power. |
This function calculates the power of a square matrix.
A p x p square matrix.
data <- gen.data(n=100)
cov.squared <- matpower(cov.x(data$X), 2)