Function ndarray_linalg::generate::random_regular
source ยท pub fn random_regular<A>(n: usize) -> Array2<A>
Expand description
Generate random regular matrix
- Be sure that this it NOT a uniform distribution. Use it only for test purpose.
- This function uses rand::thread_rng. See random_regular_using for using another RNG.