polars::prelude::arity

Function apply_binary_kernel_broadcast

Source
pub fn apply_binary_kernel_broadcast<'l, 'r, L, R, O, K, LK, RK>(
    lhs: &'l ChunkedArray<L>,
    rhs: &'r ChunkedArray<R>,
    kernel: K,
    lhs_broadcast_kernel: LK,
    rhs_broadcast_kernel: RK,
) -> ChunkedArray<O>
where L: PolarsDataType, R: PolarsDataType, O: PolarsDataType, K: Fn(&<L as PolarsDataType>::Array, &<R as PolarsDataType>::Array) -> <O as PolarsDataType>::Array, LK: Fn(<L as PolarsDataType>::Physical<'l>, &<R as PolarsDataType>::Array) -> <O as PolarsDataType>::Array, RK: Fn(&<L as PolarsDataType>::Array, <R as PolarsDataType>::Physical<'r>) -> <O as PolarsDataType>::Array,