You are here: Symbol Reference > MtxVecInt Namespace > Classes > TMtxInt Class > public > FlipVer Method > TMtxInt.FlipVer Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxInt.FlipVer Method ()

Flips the matrix elements vertically

Pascal
function FlipVer: TMtxInt; overload;

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

var A,B: TMtxInt; begin CreateIt(A,B); try A.SetIt(2,2,[1,2, 2,4]); // 2x2, integer matrix B.FlipVert(A); // B becomes: // [2,4] // [1,2] finally FreeIt(A,B); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!