MatrixInt.Concat Method

function Concat(ARows: Integer; ACols: Integer; const Src: TMtxInt[]): TMtxInt;

Concatenate an array of matrices to single matrix.

#NameTypeDescription
1ARowsInteger
2AColsInteger
3SrcTMtxInt[]

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

Remarks:

Concatenate an array of matrices to form one big matrix and store the result in the calling matrix. The dimensions of the block matrices in the Src array must match, to form the new matrix. The block matrices must be all real or all complex, otherwise an exception will be raised. You must specify Arows*ACols block matrices in the Src array. The MatrixInt.Rows, MatrixInt.Cols and TMtxVecInt.IntPrecision properties of the calling matrix are adjusted automatically.

Examples
var A,B,C,D,E: TMtxInt;
begin
    CreateIt(A,B,C,D);
    CreateIt(E);
    try
        A.Size(2,2);
        B.Size(A);
        C.Size(A);
        D.Size(A);
        E.Concat(2,2[A,B
            C,D]);  // form one 4x4 matrix
    finally
        FreeIt(E);
        FreeIt(A,B,C,D);
    end;
end;
See Also: MatrixInt.ConcatHorz, MatrixInt.ConcatVert