Learn R Programming

Matrix (version 0.8-9)

Cholesky-class: Cholesky decompositions

Description

The "Cholesky" class is the class of Cholesky decomposition of a positive-semidefinite, real matrices

Arguments

Objects from the Class

Objects can be created by calls of the form new("Cholesky", ...) or by calls of the form chol(pm) where pm inherits from the "poMatrix" class or as a side-effect of other functions applied to "poMatrix" objects.

Extends

Class "trMatrix", directly. Class "geMatrix", by class "trMatrix". Class "Matrix", by class "trMatrix".

Methods

No methods defined with class "Cholesky" in the signature.

See Also

trMatrix-class, chol, poMatrix-class

Examples

Run this code
print(pm <- crossprod(Matrix(rnorm(18), nrow = 6, ncol = 3)))
print(ch <- chol(pm))
if (toupper(ch@uplo) == "U") crossprod(ch)

Run the code above in your browser using DataLab