Compute \(x - n * y\) where n is quotient of \(x / y\). More...
Functions | |
| AFAPI af_err | af_mod (af_array *out, const af_array lhs, const af_array rhs, const bool batch) |
| C Interface for modulus. More... | |
| AFAPI array | mod (const array &lhs, const array &rhs) |
| C++ Interface for modulus when dividend and divisor are arrays or one of them is scalar. More... | |
| AFAPI array | mod (const array &lhs, const double rhs) |
| C++ Interface for modulus when dividend and divisor are arrays or one of them is scalar. More... | |
| AFAPI array | mod (const double lhs, const array &rhs) |
| C++ Interface for modulus when dividend and divisor are arrays or one of them is scalar. More... | |
Compute \(x - n * y\) where n is quotient of \(x / y\).
C Interface for modulus.
| [out] | out | will contain the output of lhs modulo rhs |
| [in] | lhs | is dividend |
| [in] | rhs | is divisor |
| [in] | batch | specifies if operations need to be performed in batch mode |
C++ Interface for modulus when dividend and divisor are arrays or one of them is scalar.
| [in] | lhs | is dividend |
| [in] | rhs | is divisor |
lhs modulo rhs C++ Interface for modulus when dividend and divisor are arrays or one of them is scalar.
| [in] | lhs | is dividend |
| [in] | rhs | is divisor |
lhs modulo rhs