void SolveVandermondeSystem( Matrix v, Matrix b )
Matrix v
A vector with unique entries that defines a Vandermonde matrix.
Matrix b
A vector representing the right-hand side of the linear system you want to solve. Upon return, this parameter is overwritten with the solution vector.
This module solves the linear system V x = b where V is the nonsingular Vandermonde matrix generated from the vector v. The algorithm overwrites vector b with the solution vector x.
v = { 1, -2, -3 }; b = { 0, 3, -3 }; run SolveVandermondeSystem( v, b ); print b;