Click or drag to resize
StatisticsEntropy Method (IEnumerableDouble)
Calculates the entropy of a stream of double values in bits. Returns NaN if any of the values in the stream are NaN.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double Entropy(
	IEnumerable<double> data
)

Parameters

data
Type: System.Collections.GenericIEnumerableDouble
The data sample sequence.

Return Value

Type: Double
See Also