CreateVandermondeMatrix

Prototype

Matrix CreateVandermondeMatrix( Matrix mGenerator )

Return Value

The return value is the Vandermonde matrix generated from mGenerator.

Parameters

Matrix mGenerator
A vector used to generate the Vandermonde matrix.

Remarks

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.

Example
m = CreateVandermondeMatrix( {1 2 3 4 5} );
print m;
See Also

SolveVandermondeSystem
SolveTVandermondeSystem