Learn R Programming

QRFCCA (version 1.0)

p_ginv: Power Inverse

Description

Calculate the power inverse of the input matrix

Usage

p_ginv(X, p)

Arguments

X

The input data matrix.

p

p is the power. For example, to calculate the inverse of X, p is set to be 1.

Value

The power inverse of the input matrix.

Details

p_ginv is use to calcuate X^(-p).

See Also

p_ginv_sq

Examples

Run this code
# NOT RUN {
     X = matrix(rnorm(25,0,1),nrow=5,ncol=5);
     pinv_X = p_ginv(X,2);
# }

Run the code above in your browser using DataLab