StatisticsEntropy(IEnumerableDouble) Method |
Calculates the entropy of a stream of double values in bits.
Returns NaN if any of the values in the stream are NaN.
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double Entropy(
IEnumerable<double> data
)
Parameters
- data IEnumerableDouble
- The data sample sequence.
Return Value
DoubleThe entropy of the data in bits.
See Also