Type Alias RowMajorMatrixCow

Source
pub type RowMajorMatrixCow<'a, T> = DenseMatrix<T, Cow<'a, [T]>>;

Aliased Type§

pub struct RowMajorMatrixCow<'a, T> {
    pub values: Cow<'a, [T]>,
    pub width: usize,
    /* private fields */
}

Fields§

§values: Cow<'a, [T]>

Flat buffer of matrix values in row-major order.

§width: usize

Number of columns in the matrix.

The number of rows is implicitly determined as values.len() / width.