pub fn stratified_unit_hypercube(
n_samples: usize,
d: usize,
rng: &mut Lcg,
) -> Vec<Vec<f64>>Expand description
Generate n_samples stratified samples over the unit hypercube \[0,1)^d.
This is the Latin Hypercube design: for each dimension, the n_samples
strata are shuffled independently so that every stratum is visited exactly
once per dimension. Identical to LatinHypercube::sample but as a
free function.