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 af_err | af_clamp (af_array *out, const af_array in, const af_array lo, const af_array hi, 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.
§ af_clamp()
C Interface for max of two arrays.
- Parameters
-
[out] | out | will contain the values from clamped between lo and hi |
[in] | in | Input array |
[in] | lo | Value for lower limit |
[in] | hi | Value for upper limit |
[in] | batch | specifies if operations need to be performed in batch mode |
- Returns
- AF_SUCCESS if the execution completes properly
§ af_maxof()
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
§ max() [1/3]
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
§ max() [2/3]
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
§ max() [3/3]
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