polars_core::chunked_array::ops::arity

Function ternary_elementwise

Source
pub fn ternary_elementwise<T, U, V, G, F>(
    ca1: &ChunkedArray<T>,
    ca2: &ChunkedArray<U>,
    ca3: &ChunkedArray<G>,
    op: F,
) -> ChunkedArray<V>
where T: PolarsDataType, U: PolarsDataType, G: PolarsDataType, V: PolarsDataType, F: for<'a> TernaryFnMut<Option<T::Physical<'a>>, Option<U::Physical<'a>>, Option<G::Physical<'a>>>, V::Array: for<'a> ArrayFromIter<<F as TernaryFnMut<Option<T::Physical<'a>>, Option<U::Physical<'a>>, Option<G::Physical<'a>>>>::Ret>,