![]() |
|
Functions | |
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) |
AFAPI array | max (const array &lhs, const double rhs) |
AFAPI array | max (const double lhs, const array &rhs) |
Maximum of two inputs.
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.
[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 |
C Interface for max of two arrays.
[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 |
C++ Interface for max of two arrays or an array and a scalar
[in] | lhs | first input |
[in] | rhs | second input |
lhs
and rhs
C++ Interface for max of two arrays or an array and a scalar
[in] | lhs | first input |
[in] | rhs | second input |
lhs
and rhs