TMtxSmallInt.FlipVer Method

Overload List

#SignatureDescription
1TMtxInt FlipVerFlips the matrix elements vertically
2TMtxInt FlipVer(TMtxInt SrcMtx)Flip all SrcMtx matrix elements vertically.

Overload 1: TMtxInt FlipVer

Flips the matrix elements vertically

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

Remarks:

Flip calling matrix elements vertically - element [j, col] = element [Rows-j, col]. This operation is performed on all calling matrix columns.

Examples
TMtx A;
TMtx B;
MtxVec.CreateIt(out A, out B);
try
    {
        A.SetIt(2,2,false,[1,2,
        2,4]);  // 2x2, !complex matrix
        B.FlipVert(A);
        // B becomes:
        // [2,4]
        // [1,2]
    }
finally
    {
        MtxVec.FreeIt(ref A, ref B);
    }

Overload 2: TMtxInt FlipVer(TMtxInt SrcMtx)

Flip all SrcMtx matrix elements vertically.

#NameTypeDescription
1SrcMtxTMtxIntsource TMtxInt

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

Remarks:

Store the results in the calling matrix. The flip operation is performed on all SrcMtx matrix columns. The Dew.Math.TMtxInt.Rows, Dew.Math.TMtxInt.Cols and Dew.Math.TMtxVecInt.IntPrecision properties of callign matrix are adjusted automatically.