This function returns an m by n matrix of the powers of the alpha vector
vandermonde.matrix(alpha, n)
A matrix.
A numerical vector of values
The column dimension of the Vandermonde matrix
Frederick Novomestky fnovomes@poly.edu
In linear algebra, a Vandermonde matrix is an
such that
Horn, R. A. and C. R. Johnson (1991). Topics in matrix analysis, Cambridge University Press.
alpha <- c( .1, .2, .3, .4 )
V <- vandermonde.matrix( alpha, 4 )
print( V )
Run the code above in your browser using DataLab