dpnp.mod
- dpnp.mod(x1, x2, /, out=None, *, where=True, order='K', dtype=None, subok=True, **kwargs)[source]
Compute element-wise remainder of division.
For full documentation refer to
numpy.mod.- Returns:
out -- The element-wise remainder of the quotient floor_divide(x1, x2).
- Return type:
dpnp.ndarray
Limitations
Parameters x1 and x2 are supported as either scalar,
dpnp.ndarrayordpctl.tensor.usm_ndarray, but both x1 and x2 can not be scalars at the same time. Parameters where, dtype and subok are supported with their default values. Keyword argument kwargs is currently unsupported. Otherwise the function will be executed sequentially on CPU. Input array data types are limited by supported DPNP Available array data types.See also
dpnp.fmodCalculate the element-wise remainder of division
dpnp.remainderRemainder complementary to floor_divide.
dpnp.divideStandard division.
Notes
This function works the same as
dpnp.remainder.