Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Ceil(); | Rounds towards positive infinity. |
| 2 | TMtxVec *Ceil(int Index, int Len); | Rounds calling object elements [Index]..[Index+Len-1] towards positive infinity in-place. |
| 3 | TMtxVec *Ceil(TMtxVec *Src); | Rounds all Src object elements towards positive infinity. |
| 4 | TMtxVec *Ceil(TMtxVec *Src, int SrcIndex, int Index, int Len); | Rounds Src object elements [SrcIndex]..[SrcIndex+Len-1] towards positive infinity. |
Overload 1: TMtxVec *Ceil();
Rounds towards positive infinity.
Rounds all calling object elements towards positive infinity in-place.
Ceil(-2.8) = -2
Ceil(2.8) = 3
Ceil(-1.0) = -1
Overload 2: TMtxVec *Ceil(int Index, int Len);
Rounds calling object elements [Index]..[Index+Len-1] towards positive infinity in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
An exception is raised if array borders are overrun.
Overload 3: TMtxVec *Ceil(TMtxVec *Src);
Rounds all Src object elements towards positive infinity.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * |
Stores the result in the calling object. Size and TVec::Complex properties of the calling object are adjusted automatically.
Overload 4: TMtxVec *Ceil(TMtxVec *Src, int SrcIndex, int Index, int Len);
Rounds Src object elements [SrcIndex]..[SrcIndex+Len-1] towards positive infinity.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Stores the result in the calling object elements [Index]..[Index+Len-1] Size and TVec::Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.