Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
criterion_stats::univariate::bootstrap - Rust
[go: Go Back, main page]

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: Floaty,
    B: Floaty,
    S: Fn(&Sample<A>, &Sample<B>) -> T,
    S: Sync,
    T: Tuple,
    T::Distributions: Send

Performs a two-sample bootstrap

  • Multithreaded
  • Time: O(nresamples)
  • Memory: O(nresamples)