Generate Vandermonde matrix from a numeric vector.
Generates the usual Vandermonde matrix from a numeric vector, e.g. applied when fitting a polynomial to given points. Complex values are allowed.
Vandermonde matrix of dimension n where
n = length(x).
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.