pub fn multiply<T>(left: &PrimitiveArray<T>, right: &PrimitiveArray<T>) -> Result<PrimitiveArray<T>>
where
    T: PolarsNumericType,
    T::Native: Add<Output = T::Native>
        + Sub<Output = T::Native>
        + Mul<Output = T::Native>
        + Div<Output = T::Native>
        + Zero,
{
    #[cfg(all(any(target_arch = "x86", target_arch = "x86_64"), feature = "simd"))]
    return simd_math_op(&left, &right, |a, b| a * b);

    #[allow(unreachable_code)]
    math_op(left, right, |a, b| Ok(a * b))
}
/// Perform `left * right` operation on two arrays. If either left or right value is null
/// then the result is also null.
Perform `left * right` operation on two arrays. If either left or right value is null
then the result is also null.
Perform ` left * right ` operation on two arrays . If either left or right value is null then the result is also null .
pub fn multiply<T>(left: &PrimitiveArray<T>, right: &PrimitiveArray<T>) -> Result<PrimitiveArray<T>>
where
    T: PolarsNumericType,
    T::Native: Add<Output = T::Native>
        + Sub<Output = T::Native>
        + Mul<Output = T::Native>
        + Div<Output = T::Native>
        + Zero,
{
    #[cfg(all(any(target_arch = "x86", target_arch = "x86_64"), feature = "simd"))]
    return simd_math_op(&left, &right, |a, b| a * b);
    #[allow(unreachable_code)]
    math_op(left, right, |a, b| Ok(a * b))
}
pub fn multiply < T > ( left : & PrimitiveArray < T > , right : & PrimitiveArray < T > ) -> Result < PrimitiveArray < T > > where T : PolarsNumericType , T :: Native : Add < Output = T :: Native > + Sub < Output = T :: Native > + Mul < Output = T :: Native > + Div < Output = T :: Native > + Zero , { # [ cfg ( all ( any ( target_arch " " target_arch " " ) feature " " ) ) ] return simd_math_op ( & left , & right , | a , b | a * b ) ; # [ allow ( unreachable_code ) ] math_op ( left , right , | a , b | Ok ( a * b ) ) }
Perform `left * right` operation on two arrays.
Perform ` left * right ` operation on two arrays .
left
&PrimitiveArray<T>
right
&PrimitiveArray<T>
left
&PrimitiveArray<T>
right
&PrimitiveArray<T>