MtxExpr.ConcatVert Method

Overload List

#SignatureDescription
1function ConcatVert(const Src: TMtxArray): Matrix;Vertically concatenate a list of matrices in to one big matrix.
2function ConcatVert(DestRow: Integer; DestCol: Integer; const Src: TMtxArray): Matrix;Vertically concatenate a list of matrices in to one big matrix.

Overload 1: function ConcatVert(const Src: TMtxArray): Matrix;

Vertically concatenate a list of matrices in to one big matrix.

#NameTypeDescription
1SrcTMtxArray

Returns: Matrix

Remarks:

Internally calls Matrix.ConcatVert

Examples
var A,B,C,D,E: TMtx;
begin
    CreateIt(A,B,C,D);
    CreateIt(E);
    try
        A.Size(1,2);
        B.Size(A);
        E.Size(4,4);
        // overwrite the lower part of the E matrix
        // with values from A and B
        E.ConcatVert(2,2,[A,B]);
        // E becomes:
        //[E11 E12 E13 E14]
        //[E21 E22 E23 E24]
        //[A11 A12 E33 E34]
        //[B11 B12 E43 E44]
    finally
        FreeIt(E);
        FreeIt(A,B,C,D);
    end;
end;

Overload 2: function ConcatVert(DestRow: Integer; DestCol: Integer; const Src: TMtxArray): Matrix;

Vertically concatenate a list of matrices in to one big matrix.

#NameTypeDescription
1DestRowInteger
2DestColInteger
3SrcTMtxArray

Returns: Matrix

Remarks:

Internally calls Matrix.ConcatVert