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