Matrix::VanderMonde Method

TMtx *VanderMonde(int ACols, TVec *Vec) const;

Construct VanderMonde matrix.

#NameTypeDescription
1AColsint
2VecTVec *
Remarks:

Constructs a VanderMonde matrix with Vec.Matrix::Length rows and ACols columns. The second to last column of the VanderMonde matrix is Vec:

M=(vec[0]ACols1vec[0]2vec[0]vec[0]1vec[n1]ACols1vec[n1]2vec[n1]vec[n1]1)M=\begin{pmatrix} \text{vec}[0]^{ACols-1} & \dots & \text{vec}[0]^{2} & \text{vec}[0] & \text{vec}[0] & 1 \\ \dots & \dots & \dots & \dots & \dots & \dots \\ \text{vec}[n-1]^{ACols-1} & \dots & \text{vec}[n-1]^{2} & \text{vec}[n-1] & \text{vec}[n-1] & 1 \\ \end{pmatrix}
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler