Matrix.Hankel Method

TMtx Hankel(TVec FirstColumn)

Constructs a Hankel matrix.

#NameTypeDescription
1FirstColumnTVecsource TVec

Result: stored in self (calling object), returns self for chaining

Remarks:

Constructs a Hankel matrix whose first column is FirstColumn and whose elements are zero below the first anti-diagonal. The Dew.Math.Matrix.Rows, Dew.Math.Matrix.Cols and Dew.Math.Matrix.Complex properties of the calling matrix are adjusted automatically.

Examples
Vector v;
Matrix H;
v.SetIt(false,new double[] {1,2,3,4});
H.Hankel(v);
// H becomes:
//[1  2  3  4]
//[2  3  4  0]
//[3  4  0  0]
//[4  0  0  0]