Click or drag to resize
StreamingStatisticsEntropy Method
Calculates the entropy of a stream of double values. 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> stream
)

Parameters

stream
Type: System.Collections.GenericIEnumerableDouble
The input stream to evaluate.

Return Value

Type: Double
See Also