public class MeanCalculator extends Object implements Function<double[],Double>
The arithmetic mean $\mu$ of a series of elements $x_1, x_2, \dots, x_n$ is given by: $$ \begin{align*} \mu = \frac{1}{n}\left({\sum\limits_{i=1}^n x_i}\right) \end{align*} $$
| Constructor and Description |
|---|
MeanCalculator() |
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.