Matrix (version 0.99-3)

dpoMatrix-class: Positive Semi-definite Dense Numeric Matrices

Description

The "dpoMatrix" class is the class of positive-semidefinite symmetric matrices in nonpacked storage. The "dppMatrix" class is the same except in packed storage. Only the upper triangle or the lower triangle is required to be available.

Arguments

Objects from the Class

Objects can be created by calls of the form new("dpoMatrix", ...) or from crossprod applied to an "dgeMatrix" object.

Extends

Class "dsyMatrix", directly. Class "dgeMatrix", by class "dsyMatrix". Class "Matrix", by class "dsyMatrix".

See Also

dsyMatrix-class, dgeMatrix-class, Matrix, rcond, chol, solve, crossprod

Examples

Run this code
h6 <- Hilbert(6)
rcond(h6)
str(h6)
solve(h6)
str(hp6 <- as(h6, "dppMatrix"))

Run the code above in your browser using DataCamp Workspace