ArrayFire: min
Returns the elementwise minimum between two arrays. More...
Functions | |
| AFAPI array | min (const array &lhs, const array &rhs) |
| C++ Interface to find the elementwise minimum between two arrays. More... | |
| AFAPI array | min (const array &lhs, const double rhs) |
| C++ Interface to find the elementwise minimum between an array and a scalar value. More... | |
| AFAPI array | min (const double lhs, const array &rhs) |
| C++ Interface to find the elementwise minimum between an array and a scalar value. More... | |
| AFAPI af_err | af_minof (af_array *out, const af_array lhs, const af_array rhs, const bool batch) |
| C Interface to find the elementwise minimum between two arrays. More... | |
Returns the elementwise minimum between two arrays.
◆ af_minof()
C Interface to find the elementwise minimum between two arrays.
- Parameters
-
[out] out minimum [in] lhs input array [in] rhs input array [in] batch batch mode
- Returns
- AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ min() [1/3]
C++ Interface to find the elementwise minimum between two arrays.
- Parameters
-
[in] lhs input array [in] rhs input array
- Returns
- minimum
◆ min() [2/3]
C++ Interface to find the elementwise minimum between an array and a scalar value.
- Parameters
-
[in] lhs input array [in] rhs scalar value
- Returns
- minimum
◆ min() [3/3]
C++ Interface to find the elementwise minimum between an array and a scalar value.
- Parameters
-
[in] lhs scalar value [in] rhs input array
- Returns
- minimum