Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *Abs(); | Absolute values. |
| 2 | TMtxVecInt *Abs(int Index, int Len); | Absolute values of calling object elements [Index]..[Index+Len-1]. |
| 3 | TMtxVecInt *Abs(TMtxVecInt *Src); | Absolute values of all Src vector elements. |
| 4 | TMtxVecInt *Abs(TMtxVecInt *Src, int SrcIndex, int Index, int Len); | Absolute values of Src vector elements [VecIndex]..[VecIndex+Len-1]. |
Overload 1: TMtxVecInt *Abs();
Absolute values.
Calculate the absolute value of all calling object elemets in-place.
Overload 2: TMtxVecInt *Abs(int Index, int Len);
Absolute values of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Returns: calling vector elements [Index]..[Index+Len-1] ansolute vslues.
An exception is raised if array borders are overrun/underrun.
Note
Please note the calling vector elements [Index]..[Index+Len-1] are overwritten with result of routine call.
Overload 3: TMtxVecInt *Abs(TMtxVecInt *Src);
Absolute values of all Src vector elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * |
Returns: Src vector elements ansolute vslues.
Overload 4: TMtxVecInt *Abs(TMtxVecInt *Src, int SrcIndex, int Index, int Len);
Absolute values of Src vector elements [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | SrcIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Returns: Src vector elements [VecIndex]..[VecIndex+Len-1] absolute values in calling vector elements [Index]..[Index+Len-1].
An exception is raised if array borders are overrun/underrun.
Note
Please note the calling vector elements [Index]..[Index+Len-1] are overwritten with result of routine call.