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

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

Parameters

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

Return Value

Type: Double
See Also