ndarray_linalg::generate

Function random_regular_using

source
pub fn random_regular_using<A, R>(n: usize, rng: &mut R) -> Array2<A>
where A: Scalar + Lapack, R: Rng,
Expand description

Generate random regular matrix with given RNG

  • Be sure that this it NOT a uniform distribution. Use it only for test purpose.
  • See random_regular for using default RNG.