# Module lattice_qcd_rs::statistics

source · ## Expand description

Provide statistical tools

## Re-exports

`pub use distribution::*;`

## Modules

- Some statistical distribution used by other part of the library

## Functions

- compute the covariance between two slices. Return
`None`

if the slices are not of the same length - Computes the covariance between two [
`rayon::iter::IndexedParallelIterator`

]. Returns`None`

if the par iters are not of the same length. - Computes the covariance between two [rayon::iter::IndexedParallelIterator] by value. Returns
`None`

if the par iters are not of the same length. - compute the mean from a collections
- Compute the mean and variance (squared of standard deviation) from a collection.
- Compute the mean and variance (squared of standard deviation) from a [
`rayon::iter::IndexedParallelIterator`

]. Provides better performance than computing the mean and variation separately as this method consume the iterator only once. - Compute the mean and variance (squared of standard deviation) from a [
`rayon::iter::IndexedParallelIterator`

] by value. Provides better performance than computing the mean and variation separately as this method consume the iterator only once. - Compute the mean from a [
`rayon::iter::IndexedParallelIterator`

]. It uses the power of the parallel iterator to do the computation and might give better performance than`mean`

. - Compute the mean from a [
`rayon::iter::IndexedParallelIterator`

]. If you want to use reference use`mean_par_iter`

. It uses the power of the parallel iterator to do the computation and is particularly useful in combination of a map. - compute the mean the statistical error on this value a slice.
- Computes the mean the statistical error on this value a [
`rayon::iter::IndexedParallelIterator`

]. - Computes the mean the statistical error on this value a [
`rayon::iter::IndexedParallelIterator`

] by value. - compute the variance (squared of standard deviation) from a collections
- Compute the variance (squared of standard deviation) from a [
`rayon::iter::IndexedParallelIterator`

]. - Compute the variance (squared of standard deviation) from a [
`rayon::iter::IndexedParallelIterator`

] by value.