sqrt_XtX {templateICAr}R Documentation

Compute matrix square root of X'X

Description

Compute matrix square root of X'X

Usage

sqrt_XtX(X, inverse = FALSE)

Arguments

X

A numerical matrix

inverse

if inverse=TRUE, compute inverse of square root

Value

A matrix equalling the (inverse) matrix square root of X'X


[Package templateICAr version 0.9.1 Index]