Function sprs_rand::rand_csr_std[][src]

pub fn rand_csr_std(shape: (usize, usize), density: f64) -> CsMat<f64>

Convenient wrapper for the common case of sampling a matrix with standard normal distribution of the nnz values, using a lightweight rng.