PosDefSymmMatrix: Generating functions for PosSemDefSymmMatrix-class resp....

View source: R/PosDefSymmMatrix.R

PosDefSymmMatrixR Documentation

Generating functions for PosSemDefSymmMatrix-class resp. PosDefSymmMatrix-class

Description

Generates an object of class "PosSemDefSymmMatrix" resp. of class "PosDefSymmMatrix".

Usage

PosSemDefSymmMatrix(mat)
       PosDefSymmMatrix(mat)

Arguments

mat

A numeric positive-[semi-]definite, symmetric matrix with finite entries.

Details

If mat is no matrix, as.matrix is applied.

Value

Object of class "PosSemDefSymmMatrix" resp. of class "PosDefSymmMatrix"

Author(s)

Matthias Kohl Matthias.Kohl@stamats.de, Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

See Also

PosDefSymmMatrix-class

Examples

PosSemDefSymmMatrix(1)
PosSemDefSymmMatrix(diag(2))
PosDefSymmMatrix(1)
PosDefSymmMatrix(diag(2))

distr documentation built on Jan. 29, 2024, 3 a.m.