[−][src]Function rstats::genvec
pub fn genvec(d: usize, n: usize, s1: u32, s2: u32) -> Vec<f64>
Generates a random f64 vector of size d x n suitable for testing. It needs two seeds.
Uses local closure rand
to generate random numbers (avoids dependencies).
Random numbers are in the open interval 0..1 with uniform distribution.