Learn R Programming

fastQR (version 1.1.4)

qrchol: Cholesky decomposition via QR factorization.

Description

qrchol, provides the Cholesky decomposition of the symmetric and positive definite matrix \(X^\top X\in\mathbb{R}^{p\times p}\), where \(X\in\mathbb{R}^{n\times p}\) is the input matrix.

Usage

qrchol(X, nb = NULL)

Value

an upper triangular matrix of dimension \(p\times p\) which represents the Cholesky decomposition of \(X^\top X\).

Arguments

X

an \((n\times p)\) matrix.

nb

number of blocks for the recursive block QR decomposition, default is NULL.