Matrix CreateVandermondeMatrix( Matrix mGenerator )
The return value is the Vandermonde matrix generated from mGenerator.
Matrix mGenerator
A vector used to generate the Vandermonde matrix.
The (ij)th entry of a Vandermonde matrix is mGenerator[j] raised to the (i-1)th power. Vandermonde matrices arise in problems involving polynomial interpolation.
m = CreateVandermondeMatrix( {1 2 3 4 5} ); print m;