matrixsqrt {MultBiplotR}R Documentation

Matrix squared root

Description

Matrix square root of a matrix using the eigendecomposition.

Usage

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

Arguments

S

A squered matrix

tol

Tolerance for the igenvalues

Details

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

Value

The matrix square root of the argument

Author(s)

Jose Luis Vicente Villardon

Examples

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

[Package MultBiplotR version 23.11.0 Index]