Overload List
| # | Signature | Description |
|---|---|---|
| 1 | int Min(); | Minimum value. |
| 2 | int Min(int Index, int Len); | Calculate the minimum value from calling object elements [Index]..[Index+Len-1]. |
| 3 | int Min(int &aIndex); | Calculate the minimum value of all calling object elements. |
| 4 | int Min(int &aIndex, int Index, int Len); | Calculate the maximum value of calling object elements [Index..Index+Len-1]. |
Overload 1: int Min();
Minimum value.
Returns: The minimum value of all calling object elements. The result is an integer value.
See Also: TVecInt::Max
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 2: int Min(int Index, int Len);
Calculate the minimum value from calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Remarks:
The result is an integer value. An exception is raised if array borders are overrun.
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 3: int Min(int &aIndex);
Calculate the minimum value of all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aIndex | int & | Stores minimum value index. |
Returns: the minimum of all calling vector integer elements in-place.
See Also: TVecInt::Max
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler
Overload 4: int Min(int &aIndex, int Index, int Len);
Calculate the maximum value of calling object elements [Index..Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aIndex | int & | Returns minimum value index. |
| 2 | Index | int | The starting index at which to start the search. |
| 3 | Len | int | The number of elements to search starting from Index. |
Returns: the minimum of calling vector integer elements [Index..Index+Len-1].
Remarks:
An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler