https://github.com/cran/pracma
Raw File
Tip revision: 1305bf51cc38adca02d0c8a834c61a4c7e038309 authored by Hans W. Borchers on 08 February 2015, 00:00:00 UTC
version 1.8.3
Tip revision: 1305bf5
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{ specmat }
back to top