pub fn zip_map4_into<D: Copy + Send + Sync, A: Copy + Send + Sync, B: Copy + Send + Sync, C: Copy + Send + Sync, E: Copy + Send + Sync, OpA: ElementOp<A>, OpB: ElementOp<B>, OpC: ElementOp<C>, OpE: ElementOp<E>>(
dest: &mut StridedViewMut<'_, D>,
a: &StridedView<'_, A, OpA>,
b: &StridedView<'_, B, OpB>,
c: &StridedView<'_, C, OpC>,
e: &StridedView<'_, E, OpE>,
f: impl Fn(A, B, C, E) -> D + Sync,
exec: Exec<'_>,
) -> Result<()>Expand description
Quaternary element-wise operation: dest[i] = f(a[i], b[i], c[i], e[i]).
ยงErrors
Returns StridedError::RankMismatch or
StridedError::ShapeMismatch when dest and any of the four source
views have different ranks or extents, and
StridedError::NonInjectiveOutputLayout when the destination layout
cannot be proven representable and injective: two logical indices name
one offset, or the element count or address span is too large to
represent. Nothing is written unless validation succeeds.