Dew MtxVec NET
TMtx.Hankel Method
Summary
Constructs a Hankel matrix.

Class
TMtx

Declaration
Function Hankel(FirstColumn: TVec): TMtx;

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

Example 1

var v: TVec; H: TMtx; begin CreateIt(v); CreateIt(H); try 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] finally FreeIt(H); FreeIt(v); end; end;

Copyright 2008 Dew Research
http://www.dewresearch.com