Expand description
Random sparse matrix generation
Modules§
- rand
- Re-export
randfor version compatibility - rand_
distr - Re-export
rand_distrfor version compatibility
Functions§
- rand_
csr - Generate a random sparse matrix matching the given density and sampling the values of its non-zero elements from the provided distribution.
- rand_
csr_ std - Convenient wrapper for the common case of sampling a matrix with standard normal distribution of the nnz values, using a lightweight rng.