Function from_column_major_slice_with_stride_generic
pub fn from_column_major_slice_with_stride_generic<E>(
slice: <<E as Entity>::Group as ForType>::FaerOf<&[<E as Entity>::Unit]>,
nrows: usize,
ncols: usize,
col_stride: usize,
) -> MatRef<'_, E>where
E: Entity,
Expand description
Creates a MatRef
from slice views over the matrix data, and the matrix dimensions.
The data is interpreted in a column-major format, where the beginnings of two consecutive
columns are separated by col_stride
elements.