Class HarmonicMean<V extends Number,W extends Number>

java.lang.Object
org.djutils.means.AbstractMean<HarmonicMean<V,W>,V,W>
org.djutils.means.HarmonicMean<V,W>
Type Parameters:
V - value type
W - weight type

public class HarmonicMean<V extends Number,W extends Number> extends AbstractMean<HarmonicMean<V,W>,V,W>
Compute the harmonic (weighted) mean of a set of values.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.

Author:
Alexander Verbraeck, Peter Knoppers