pub fn bootstrap<F, R, N1>(
    rng: R,
    samples: usize,
    data: &[N1],
    reduction: F
) -> (f64, f64)where
    F: Fn(&[&N1]) -> f64,
    R: Rng,
Expand description

returns reduced value + estimated error (as sqrt of variance). Note, that you can use bootstrap_copyable if your N1 implements Copy