Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx); | Calculate minimum, maximum and their indices in one procedure call. |
| 2 | void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx, int Index, int Len); | Calculate minimum, maximum and their indices in one procedure call. |
Overload 1: void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx);
Calculate minimum, maximum and their indices in one procedure call.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aMax | int & | Returns calling vector maximum value. |
| 2 | aMaxIdx | int & | Returns calling vector maximum value index. |
| 3 | aMin | int & | Returns calling vector monimum value. |
| 4 | aMinIdx | int & | Returns calling vector minimum value index. |
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 2: void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx, int Index, int Len);
Calculate minimum, maximum and their indices in one procedure call.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aMax | int & | Returns calling vector elements [Index..Index+Len-1] maximum value. |
| 2 | aMaxIdx | int & | Returns calling vector maximum value index. |
| 3 | aMin | int & | Returns calling vector elements [Index..Index+Len-1] minimum value. |
| 4 | aMinIdx | int & | Returns calling vector minimum value index. |
| 5 | Index | int | The starting index at which to start the search. |
| 6 | Len | int | The number of elements to search starting from Index. |
Remarks:
An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler