Maximum of two inputs.
More...
|
| AFAPI af_err | af_maxof (af_array *out, const af_array lhs, const af_array rhs, const bool batch) |
| | C Interface for max of two arrays. More...
|
| |
| AFAPI array | max (const array &lhs, const array &rhs) |
| | C++ Interface for max of two arrays or an array and a scalar. More...
|
| |
| AFAPI array | max (const array &lhs, const double rhs) |
| | C++ Interface for max of two arrays or an array and a scalar. More...
|
| |
| AFAPI array | max (const double lhs, const array &rhs) |
| | C++ Interface for max of two arrays or an array and a scalar. More...
|
| |
Maximum of two inputs.
C Interface for max of two arrays.
- Parameters
-
| [out] | out | will contain maximum of lhs and rhs |
| [in] | lhs | first input |
| [in] | rhs | second input |
| [in] | batch | specifies if operations need to be performed in batch mode |
- Returns
- AF_SUCCESS if the execution completes properly
| AFAPI array af::max |
( |
const array & |
lhs, |
|
|
const array & |
rhs |
|
) |
| |
C++ Interface for max of two arrays or an array and a scalar.
- Parameters
-
| [in] | lhs | first input |
| [in] | rhs | second input |
- Returns
- maximum of
lhs and rhs
| AFAPI array af::max |
( |
const array & |
lhs, |
|
|
const double |
rhs |
|
) |
| |
C++ Interface for max of two arrays or an array and a scalar.
- Parameters
-
| [in] | lhs | first input |
| [in] | rhs | second input |
- Returns
- maximum of
lhs and rhs
| AFAPI array af::max |
( |
const double |
lhs, |
|
|
const array & |
rhs |
|
) |
| |
C++ Interface for max of two arrays or an array and a scalar.
- Parameters
-
| [in] | lhs | first input |
| [in] | rhs | second input |
- Returns
- maximum of
lhs and rhs