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