https://github.com/cran/Matrix
Raw File
Tip revision: 189e71628613ed3bc3da0bed13f629c77428b488 authored by Douglas Bates on 14 June 2005, 00:00:00 UTC
version 0.96-2
Tip revision: 189e716
hilbert.Rd
\name{Hilbert}
\alias{Hilbert}
\title{Generate a Hilbert matrix}
\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{\code{\link{dpoMatrix-class}}}
\examples{
Hilbert(6)
}
\keyword{array}
\keyword{algebra}
back to top