Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void MaxMin(double &AMax, double &AMin); | Maximum and minimum value in a single pass. |
| 2 | void MaxMin(double &AMax, double &AMin, int Index, int Len); | Calculates the maximum and minimum value of calling object elements [Index]..[Index+Len-1]. |
| 3 | void MaxMin(double &AMax, int &MaxIdx, double &AMin, int &MinIdx); | Calculates the maximum and minimum value of all calling object elements. |
| 4 | void MaxMin(double &AMax, int &MaxIdx, double &AMin, int &MinIdx, int Index, int Len); | Calculates the maximum and minimum value of calling object elements [Index]..[Index+Len-1]. |
Overload 1: void MaxMin(double &AMax, double &AMin);
Maximum and minimum value in a single pass.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | AMin | double & |
Calculates the maximum and minimum value of all calling object elements in a single pass. Maximum value is stored in AMax parameter, minimum value is stored in AMin parameter. Use this method if you require minimum AND maximum value.
Overload 2: void MaxMin(double &AMax, double &AMin, int Index, int Len);
Calculates the maximum and minimum value of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | AMin | double & | |
| 3 | Index | int | |
| 4 | Len | int |
Maximum value is stored in AMax parameter, minimum value is stored in AMin parameter. An exception is raised if calling object TOpenCLBase::Complex property is true or array borders are overrud/underrun.
Overload 3: void MaxMin(double &AMax, int &MaxIdx, double &AMin, int &MinIdx);
Calculates the maximum and minimum value of all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | MaxIdx | int & | |
| 3 | AMin | double & | |
| 4 | MinIdx | int & |
Maximum value is returned in AMax parameter, minimum value in AMin parameter. The MaxIdx parameter returns the index of maximum value. The MinIdx parameter returns the index of minimum value. An exception is raised if calling object TOpenCLBase::Complex property is true.
Overload 4: void MaxMin(double &AMax, int &MaxIdx, double &AMin, int &MinIdx, int Index, int Len);
Calculates the maximum and minimum value of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | MaxIdx | int & | |
| 3 | AMin | double & | |
| 4 | MinIdx | int & | |
| 5 | Index | int | |
| 6 | Len | int |
Maximum value is returned in AMax parameter, minimum value in AMin parameter. The MaxIdx parameter returns the index of maximum value. The MinIdx parameter returns the index of minimum value. An exception is raised if calling object TOpenCLBase::Complex property is true or if array borders are overrun/underrun.