view_mut_to_strided_view_mut

Function view_mut_to_strided_view_mut 

Source
pub fn view_mut_to_strided_view_mut<'a, T>(
    view: &'a mut ViewMut<'a, T, DynRank>,
) -> StridedViewMut<'a, T>
Expand description

Wrap an mdarray ViewMut<T, DynRank> as a StridedViewMut with reversed dims.

Zero-copy: the mutable view borrows the same data.