MtxExpr.Toeplitz Method

Matrix Toeplitz(TVec FirstRow, TVec FirstCol)

Returns the Toeplitz matrix.

#NameTypeDescription
1FirstRowTVecsource TVec
2FirstColTVecsource TVec

Returns: Matrix

Remarks:

Internally calls Dew.Math.Matrix.Toeplitz

Examples
TVec V1;
TVec V2;
TMtx T;
MtxVec.CreateIt(out V1, out V2);
MtxVec.CreateIt(out T);
try
    {
        V1.SetIt(false,new double[] {1,2,3,4});
        V2.SetIt(false,new double[] {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]
    }
finally
    {
        MtxVec.FreeIt(ref T);
        MtxVec.FreeIt(ref V1, ref V2);
    }