Summary
Flips the matrix elements vertically Flip calling matrix elements vertically - element [j, col] = element [Rows-j, col].
Class
TMtx
Declaration
Function FlipVer(SrcMtx: TMtx): TMtx;
Description
Flip all SrcMtx matrix elements vertically and store the results in the calling matrix. The flip operation is performed on all SrcMtx matrix columns. The
Rows,
Cols and
Complex properties of callign matrix are adjusted automatically.
Declaration
Function FlipVer: TMtx;
Description
This operation is performed on all calling matrix columns.
Example 1
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;
| Copyright 2008 Dew Research |
http://www.dewresearch.com