You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > FlipHor Method > MatrixInt.FlipHor Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.FlipHor Method ()

Flips the matrix elements horizontally.

Syntax
C#
Visual Basic
public TMtxInt FlipHor();

Flip calling matrix elements horizontally - element [row, j] = element [row, Cols-j]. This operation is performed on all calling matrix Rows.

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