Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function FlipVer: TMtx; | Flips the matrix elements vertically |
| 2 | function FlipVer(const SrcMtx: TMtx): TMtx; | Flip all SrcMtx matrix elements vertically. |
Overload 1: function FlipVer: TMtx;
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
var A,B: TMtx;
begin
CreateIt(A,B);
try
A.SetIt(2,2,False,[1,2,
2,4]); // 2x2, not complex matrix
B.FlipVert(A);
// B becomes:
// [2,4]
// [1,2]
finally
FreeIt(A,B);
end;
end;
See Also: TMtx.FlipHor
Overload 2: function FlipVer(const SrcMtx: TMtx): TMtx;
Flip all SrcMtx matrix elements vertically.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SrcMtx | TMtx |
Result: stored in self (calling object), returns self for chaining