random_regular_using

Function random_regular_using 

Source
pub fn random_regular_using<A, R>(
    n: usize,
    rng: &mut R,
) -> ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>
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.