Click or drag to resize
Accord.NET (logo)

MeasuresContraHarmonicMean Method (Double, Int32)

Computes the contraharmonic mean of the given values.

Namespace:  Accord.Statistics
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double ContraHarmonicMean(
	double[] values,
	int order
)
Request Example View Source

Parameters

values
Type: SystemDouble
A unsigned short array containing the vector members.
order
Type: SystemInt32
The order of the harmonic mean. Default is 1.

Return Value

Type: Double
The contraharmonic mean of the given data.
See Also