Function criterion_stats::univariate::bootstrap [−][src]
pub fn bootstrap<A, B, T, S>(
a: &Sample<A>,
b: &Sample<B>,
nresamples: usize,
statistic: S
) -> T::Distributions where
A: Float,
B: Float,
S: Fn(&Sample<A>, &Sample<B>) -> T,
S: Sync,
T: Tuple,
T::Distributions: Send,
T::Builder: Send,
Performs a two-sample bootstrap
- Multithreaded
- Time:
O(nresamples)
- Memory:
O(nresamples)