https://github.com/cran/pracma
Raw File
Tip revision: d50cda4811eb3cdb8d2ce9e01ddb5e07d4a8c24f authored by HwB on 11 September 2013, 00:00:00 UTC
version 1.5.5
Tip revision: d50cda4
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)}.
}
\examples{
  vander(c(1:10))
}
\keyword{ array }
back to top