| 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 public static double Entropy(
IEnumerable<Nullable<double>> data
)
Parameters
- data
- Type: System.Collections.GenericIEnumerableNullableDouble
The data sample sequence.
Return Value
Type:
Double[Missing <returns> documentation for "M:MathNet.Numerics.Statistics.Statistics.Entropy(System.Collections.Generic.IEnumerable{System.Nullable{System.Double}})"]
See Also