SparseMatrixExt

Trait SparseMatrixExt 

Source
pub trait SparseMatrixExt<T> {
    // Required method
    fn apply_threshold(&self, threshold: T) -> CsrMatrix<T>
       where T: Copy + PartialOrd + Default + Scalar;
}
Expand description

Trait extension for additional sparse matrix operations

Required Methods§

Source

fn apply_threshold(&self, threshold: T) -> CsrMatrix<T>
where T: Copy + PartialOrd + Default + Scalar,

Implementations on Foreign Types§

Source§

impl SparseMatrixExt<u32> for CsrMatrix<u32>

Source§

fn apply_threshold(&self, threshold: u32) -> CsrMatrix<u32>

Apply threshold to sparse matrix values

Implementors§