pub fn zip_map2_into<D, A, B, OpA, OpB>(
dest: &mut StridedViewMut<'_, D>,
a: &StridedView<'_, A, OpA>,
b: &StridedView<'_, B, OpB>,
f: impl Fn(A, B) -> D + MaybeSync,
) -> Result<(), StridedError>where
D: Copy + MaybeSendSync,
A: Copy + MaybeSendSync,
B: Copy + MaybeSendSync,
OpA: ElementOp<A>,
OpB: ElementOp<B>,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.