matrixsqrtinv: Inverse of the Matrix squared root

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/matrixsqrtinv.R

Description

Inverse of the Matrix square root of a matrix using the eigendecomposition.

Usage

1
matrixsqrtinv(S, tol = sqrt(.Machine$double.eps))

Arguments

S

A squered matrix

tol

Tolerance for the igenvalues

Details

Inverse of the Matrix square root of a matrix using the eigendecomposition and removing the eigenvalues smaller than a tolerance

Value

The inverse matrix square root of the argument

Author(s)

Jose Luis Vicente Villardon

See Also

ginv

Examples

1
2
3
4
data(iris)
x=as.matrix(iris[,1:4])
S= t(x) 
matrixsqrtinv(S)

villardon/MultBiplotR documentation built on June 5, 2021, 8:55 a.m.