Type Alias RowMajorMatrix

Source
pub type RowMajorMatrix<T> = DenseMatrix<T>;

Aliased Type§

pub struct RowMajorMatrix<T> {
    pub values: Vec<T>,
    pub width: usize,
    /* private fields */
}

Fields§

§values: Vec<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.