You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > TMtx.Hankel Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.Hankel Method

Constructs a Hankel matrix.

Pascal
function Hankel(const FirstColumn: TVec): TMtx; overload;

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

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;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!