Package org.djutils.means
Class GeometricMean<V extends Number,W extends Number>
- Type Parameters:
V
- value typeW
- weight type
public class GeometricMean<V extends Number,W extends Number> extends AbstractMean<GeometricMean<V,W>,V,W>
Compute the geometric (weighted) mean of a set of values. Geometric mean can not handle negative or zero values.
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Oct 26, 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description GeometricMean()
-
Method Summary
-
Constructor Details
-
GeometricMean
public GeometricMean()
-
-
Method Details