Matrix.Toeplitz Method

Overload List

#SignatureDescription
1function Toeplitz(FirstRow: TVec): TMtx;Constructs a Toeplitz matrix with first row equal to FirstRow vector and first column equal to FirstRow vector, but without the first element.
2function Toeplitz(FirstRow: TVec; FirstCol: TVec): TMtx;Constructs a Toeplitz matrix.

Overload 1: function Toeplitz(FirstRow: TVec): TMtx;

Constructs a Toeplitz matrix with first row equal to FirstRow vector and first column equal to FirstRow vector, but without the first element.

#NameTypeDescription
1FirstRowTVecsource TVec

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

Overload 2: function Toeplitz(FirstRow: TVec; FirstCol: TVec): TMtx;

Constructs a Toeplitz matrix.

#NameTypeDescription
1FirstRowTVecsource TVec
2FirstColTVecsource TVec

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

Remarks:

Constructs a Toeplitz matrix with first row equal to FirstRow vector and first column equal to FirstCol vector, but without the first element. The Matrix.Rows, Matrix.Cols and Matrix.Complex properties of the calling matrix are adjusted automatically. An exception is raised if FirstRow and FirstCol Complex properties do not match.

Examples
var V1,V2: Vector;
    T: Matrix;
begin
    V1.SetIt(False,[1,2,3,4]);
    V2.SetIt(False,[2,3,4]);
    T.Toeplitz(V1,V2);
    // T becomes:
    //[1  2  3  4]
    //[2  1  2  3]
    //[3  2  1  2]
    //[4  3  2  1]
end;