function Hankel(const FirstColumn: TVec): TMtx;
Constructs a Hankel matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | FirstColumn | 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 Matrix.Rows, Matrix.Cols and Matrix.Complex properties of the calling matrix are adjusted automatically.
Examples
var v: Vector;
H: Matrix;
begin
v.SetIt(False,[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]
end;