sqrt_XtX: Compute matrix square root of X'X

View source: R/orthonorm.R

sqrt_XtXR 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


templateICAr documentation built on Oct. 14, 2024, 5:08 p.m.