StatisticsEntropy(IEnumerableNullableDouble) Method |
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: 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 IEnumerableNullableDouble
- The data sample sequence.
Return Value
DoubleThe entropy of the data in bits. Null entries are ignored.
See Also