Function lattice_qcd_rs::statistics::mean_with_error_par_iter
source · pub fn mean_with_error_par_iter<'a, It: IndexedParallelIterator<Item = &'a f64> + Clone>(
data: It
) -> [f64; 2]
Expand description
Computes the mean the statistical error on this value
a [rayon::iter::IndexedParallelIterator
].
The statistical error is defined by sqrt(variance / len)
.
The alternative for iterators returning non-references is mean_with_error_par_iter_val
.