1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
\name{PosDefSymmMatrix}
\alias{PosDefSymmMatrix}
\alias{PosSemDefSymmMatrix}
\title{Generating functions for PosSemDefSymmMatrix-class resp. PosDefSymmMatrix-class}
\description{Generates an object of class \code{"PosSemDefSymmMatrix"} resp. of class \code{"PosDefSymmMatrix"}.}
\usage{PosSemDefSymmMatrix(mat)
PosDefSymmMatrix(mat)}
\arguments{
\item{mat}{A numeric positive-[semi-]definite, symmetric
matrix with finite entries.}
}
\details{
If \code{mat} is no matrix, \code{as.matrix} is applied.
}
\value{Object of class \code{"PosSemDefSymmMatrix"} resp. of class \code{"PosDefSymmMatrix"}}
%\references{}
\author{Matthias Kohl \email{Matthias.Kohl@stamats.de},
Peter Ruckdeschel \email{peter.ruckdeschel@uni-oldenburg.de}}
%\note{}
\seealso{\code{\link{PosDefSymmMatrix-class}}}
\examples{
PosSemDefSymmMatrix(1)
PosSemDefSymmMatrix(diag(2))
PosDefSymmMatrix(1)
PosDefSymmMatrix(diag(2))
}
\concept{positive-semi-definite matrix}
\concept{positive-definite matrix}
\concept{symmetric matrix}
\keyword{array}
|