pub trait SliceDxS<T> {
    fn slice_dxs<const COLUMNS: Range<usize>>(
        &self,
        rows: Range<usize>
    ) -> MatrixDxS<&T, { range_len(COLUMNS) }>; }
Expand description

A trait for dynamic slicing along rows and static slicing along columns.

Required methods

Given a range of rows and a constant range of columns returns a MatrixDxS holding references to the value within the ranges.

Implementors