Skip to main content

DenseWithMaskData

Type Alias DenseWithMaskData 

Source
pub type DenseWithMaskData<'a, T> = DenseWithMaskMatrix<T, &'a [T], &'a [bool]>;
Expand description

Backward-compatible type alias.

Aliased Type§

pub struct DenseWithMaskData<'a, T> {
    pub values: &'a [T],
    pub mask: &'a [bool],
    pub nrows: usize,
    pub ncols: usize,
    /* private fields */
}

Fields§

§values: &'a [T]

Dense value array, row-major.

§mask: &'a [bool]

Boolean non-zero mask.

§nrows: usize

Number of matrix rows.

§ncols: usize

Number of matrix columns.