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

pub fn divide<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> + Zero

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).