Calculate the remainder of a division. More...
Functions | |
AFAPI af_err | af_rem (af_array *out, const af_array lhs, const af_array rhs, const bool batch) |
C Interface to calculate the remainder. More... | |
AFAPI array | rem (const array &lhs, const array &rhs) |
AFAPI array | rem (const array &lhs, const double rhs) |
AFAPI array | rem (const double lhs, const array &rhs) |
Calculate the remainder of a division.
C Interface to calculate the remainder.
[out] | out | remainder |
[in] | lhs | numerator |
[in] | rhs | denominator |
[in] | batch | batch mode |
C++ Interface to calculate the remainder.
[in] | lhs | numerator; can be an array or a scalar |
[in] | rhs | denominator; can be an array or a scalar |
C++ Interface to calculate the remainder.
[in] | lhs | numerator; can be an array or a scalar |
[in] | rhs | denominator; can be an array or a scalar |