swh:1:snp:1d6f9c912933e835b749aef1f8077112982fe84e
Raw File
Tip revision: 162b33221cccd2760e0dd44598539c521ffcd73b authored by HwB on 18 March 2011, 00:00:00 UTC
version 0.2-2
Tip revision: 162b332
vander.Rd
\name{vander}
\alias{vander}
\title{Vandermonde matrix}
\description{
  Generate Vandermonde matrix from a numeric vector.
}
\usage{
  vander(x)
}
\arguments{
  \item{x}{Numeric vector}
}
\details{
  Generates the usual Vandermonde matrix from a numeric vector, e.g.
  applied when fitting a polynomial to given points.
  Complex values are allowed.
}
\value{
  Vandermonde matrix of dimension n where \code{n = length(x)}.
}
\author{
  hwb \email{hwborchers@googlemail.com}
}
\examples{
  vander(c(1:10))
}
\keyword{ array }
back to top