Dew MtxVec NET
TMtxVec.Floor Methods
Summary
Rounds all Src object elements towards negative infinity and stores the result in the calling object.

Class
TMtxVec

Declaration
Function Floor(Index, Len: integer): TMtxVec;

Description
Rounds calling object elements [Index]..[Index+Len-1] towards negative infinity in-place. An exception is raised if array borders are overrun.
Declaration
Function Floor(Src: TMtxVec): TMtxVec;

Description
Size and Complex properties of the calling object are adjusted automatically.
Declaration
Function Floor(Src: TMtxVec; SrcIndex, Index, Len: integer): TMtxVec;

Description
Rounds Src object elements [SrcIndex]..[SrcIndex+Len-1] towards negative infinity and stores the result in the calling object elements [Index]..[Index+Len-1] Size and Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.
Declaration
Function Floor: TMtxVec;
Summary
Rounds towards negative infinity.
Description
Rounds all calling object elements towards negative infinity in-place.
Floor(-2.8) = -3 Floor(2.8) = 2 Floor(-1.0) = -1

Copyright 2008 Dew Research
http://www.dewresearch.com