You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Matrix.Hankel Method
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.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 Complex properties of the calling matrix are adjusted automatically.

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