p_ginv: Power Inverse

Description Usage Arguments Details Value See Also Examples

View source: R/p_ginv.R

Description

Calculate the power inverse of the input matrix

Usage

1
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.

Details

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

Value

The power inverse of the input matrix.

See Also

p_ginv_sq

Examples

1
2
     X = matrix(rnorm(25,0,1),nrow=5,ncol=5);
     pinv_X = p_ginv(X,2);

QRFCCA documentation built on Nov. 17, 2017, 7:20 a.m.