https://github.com/cran/Matrix
Raw File
Tip revision: c545398bc74fce918b53e23bb482be214b2d9eb8 authored by Douglas Bates on 05 June 2004, 00:00:00 UTC
version 0.8-8
Tip revision: c545398
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 positive integer.}
}
\value{
  the \code{n} by \code{n} symmetric Hilbert matrix as a
  \code{"poMatrix"} object.
}
\seealso{\code{\link{poMatrix-class}}}  
\examples{
Hilbert(6)
}
\keyword{array}
\keyword{algebra}
back to top