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: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double Entropy(
	IEnumerable<double> stream
)

Parameters

stream  IEnumerableDouble
The input stream to evaluate.

Return Value

Double
The Shannon entropy of the stream in bits, or double.NaN if any value in the stream is NaN.
See Also