DHUListDoubleStats extension
Extension on Iterable<double> providing statistical operations.
This extension adds properties to calculate the mean, median, mode, variance, standard deviation, and percentiles of a double iterable.
Properties
- mean → double
-
Available on Iterable<
Calculates the mean (average) of the doubles in the iterable.double> , provided by the DHUListDoubleStats extensionno setter - median → double
-
Available on Iterable<
Determines the median value of the doubles in the iterable.double> , provided by the DHUListDoubleStats extensionno setter -
mode
→ List<
double> -
Available on Iterable<
Finds the mode(s) of the doubles in the iterable.double> , provided by the DHUListDoubleStats extensionno setter - standardDeviation → double
-
Available on Iterable<
Calculates the standard deviation of the doubles in the iterable.double> , provided by the DHUListDoubleStats extensionno setter - variance → double
-
Available on Iterable<
Computes the variance of the doubles in the iterable.double> , provided by the DHUListDoubleStats extensionno setter
Methods
-
percentile(
double percentile) → double -
Available on Iterable<
Computes the specifieddouble> , provided by the DHUListDoubleStats extensionpercentileof the doubles in the iterable.