CsrMatrixVec

Type Alias CsrMatrixVec 

Source
pub type CsrMatrixVec<T> = CsrMatrix<Vec<T>, Vec<usize>>;

Aliased Type§

pub struct CsrMatrixVec<T> { /* private fields */ }

Implementations§

Source§

impl<T> CsrMatrixVec<T>

Source

pub fn new_rnd<F, R>(shape: [usize; 2], nnz: usize, rng: &mut R, cb: F) -> Self
where F: FnMut(&mut R, [usize; 2]) -> T, R: Rng,

Source

pub fn with_vec_capacity(shape: [usize; 2], nnz: usize) -> Self

Trait Implementations§

Source§

impl<T> Arbitrary for CsrMatrixVec<T>

Available on crate features quickcheck and rand only.
Source§

fn arbitrary<G>(g: &mut G) -> Self
where G: Gen,

Source§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>>