pub fn stratified_sample_1d(
    samp: &mut [Float],
    n_samples: i32,
    rng: &mut Rng,
    jitter: bool
)