map_into

Function map_into 

Source
pub fn map_into<D: Copy + MaybeSendSync, A: Copy + MaybeSendSync, Op: ElementOp<A>>(
    dest: &mut StridedViewMut<'_, D>,
    src: &StridedView<'_, A, Op>,
    f: impl Fn(A) -> D + MaybeSync,
) -> Result<()>
Expand description

Apply a function element-wise from source to destination.

The element operation Op is applied lazily when reading from src. Source and destination may have different element types.