Summary
Elements rounded to the nearest whole number.
Class
TMtxVec
Declaration
Function Round(Index, Len: integer): TMtxVec;
Description
Round calling object elements [Index]..[Index+Len-1] in-place. An exception is raised if array borders are overrun/underrun.
Declaration
Function Round(Src: TMtxVec): TMtxVec;
Description
Round all Src object elements and store the results in calling object elements. Size and
Complex property of calling object are adjusted automatically.
Declaration
Function Round: TMtxVec;
Description
Rounds all calling object elements to the nearest whole number. The result can be stored to an array of integers or as floating point number.
Declaration
Function Round(Src: TMtxVec; SrcIndex, Index, Len: integer): TMtxVec;
Description
Round Src object elements [SrcIndex]..[SrcIndex+Len-1] and store the results to calling object elements [Index]..[Index+Len-1]. Size and
Complex property of the calling object must be set explicitly. An exception is raised if array borders are overrun/underrun.
Declaration
Function Round(var Dst: TIntegerArray): TMtxVec;
Description
Rounds the calling object elements to 4 byte integers and stores the result in the Dst array. The size of the Dst array is set automatically. If the complex property is True then the length of the array will be equal to Self.Length*2.
| Copyright 2008 Dew Research |
http://www.dewresearch.com