pub fn zip_map2_into<D: Copy + MaybeSendSync, A: Copy + MaybeSendSync, B: Copy + MaybeSendSync, OpA: ElementOp<A>, OpB: ElementOp<B>>(
dest: &mut StridedViewMut<'_, D>,
a: &StridedView<'_, A, OpA>,
b: &StridedView<'_, B, OpB>,
f: impl Fn(A, B) -> D + MaybeSync,
) -> Result<()>Expand description
Binary element-wise operation: dest[i] = f(a[i], b[i]).
Source operands a and b may have different element types from each other
and from dest. The closure f handles per-element type conversion.