Function arrow::compute::kernels::arithmetic::modulus[][src]

pub fn modulus<T>(
    left: &PrimitiveArray<T>,
    right: &PrimitiveArray<T>
) -> Result<PrimitiveArray<T>> where
    T: ArrowNumericType,
    T::Native: Add<Output = T::Native> + Sub<Output = T::Native> + Mul<Output = T::Native> + Div<Output = T::Native> + Rem<Output = T::Native> + Zero + One
Expand description

Perform left % right operation on two arrays. If either left or right value is null then the result is also null. If any right hand value is zero then the result of this operation will be Err(ArrowError::DivideByZero).