Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Max(); | Maximum value. |
| 2 | double Max(int Index, int Len); | Returns the maximum value from calling object elements [Index]..[Index+Len-1]. |
| 3 | void Max(double &AMax, int Index, int Len); | Calculate the maximum value from calling object elements [Index]..[Index+Len-1]. |
| 4 | void Max(double &AMax, int &aIndex); | Calculate the maximum value of all calling object elements. |
| 5 | void Max(double &AMax, int &aIndex, int Index, int Len); | Calculate the maximum value of calling object elements [Index]..[Index+Len-1]. |
| 6 | int Max(TCplx &AMax, int Index, int Len); | Same as TOpenCLVector::Maxc method. |
Overload 1: double Max();
Maximum value.
Returns: the maximum value of all calling object elements. The result is a real value.
An exception is raised is calling object TOpenCLBase::Complex is true.
Overload 2: double Max(int Index, int Len);
Returns the maximum value from calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
The result is a real value. An exception is raised if calling object TOpenCLBase::Complex property is true or array borders are overrun.
Overload 3: void Max(double &AMax, int Index, int Len);
Calculate the maximum value from calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | Index | int | |
| 3 | Len | int |
The result AMean is a real value. An exception is raised if calling object TOpenCLBase::Complex property is true or array borders are overrun.
Overload 4: void Max(double &AMax, int &aIndex);
Calculate the maximum value of all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | aIndex | int & |
The AMax parameter returns the maximum value. The aIndex parameter returns the index of maximum value. An exception is raised if calling object TOpenCLBase::Complex property is true.
Overload 5: void Max(double &AMax, int &aIndex, int Index, int Len);
Calculate the maximum value of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | double & | |
| 2 | aIndex | int & | |
| 3 | Index | int | |
| 4 | Len | int |
The AMax parameter returns the maximum value. The aIndex parameter returns the index of maximum value. An exception is raised if calling object TOpenCLBase::Complex property is true or array borders are overrud/underrun.
Overload 6: int Max(TCplx &AMax, int Index, int Len);
Same as TOpenCLVector::Maxc method.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |