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