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
|
\name{Hilbert}
\title{Generate a Hilbert matrix}
%
\keyword{array}
\keyword{utilities}
%
\alias{Hilbert}
%
\description{
Generate the \code{n} by \code{n} symmetric Hilbert matrix. Because
these matrices are ill-conditioned for moderate to large \code{n},
they are often used for testing numerical linear algebra code.
}
\usage{
Hilbert(n)
}
\arguments{
\item{n}{a non-negative integer.}
}
\value{
the \code{n} by \code{n} symmetric Hilbert matrix as a
\code{"dpoMatrix"} object.
}
\seealso{the class \code{\linkS4class{dpoMatrix}}}
\examples{
Hilbert(6)
}
|