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.

on

Properties

mean double

Available on Iterable<double>, provided by the DHUListDoubleStats extension

Calculates the mean (average) of the doubles in the iterable.
no setter
median double

Available on Iterable<double>, provided by the DHUListDoubleStats extension

Determines the median value of the doubles in the iterable.
no setter
mode List<double>

Available on Iterable<double>, provided by the DHUListDoubleStats extension

Finds the mode(s) of the doubles in the iterable.
no setter
standardDeviation double

Available on Iterable<double>, provided by the DHUListDoubleStats extension

Calculates the standard deviation of the doubles in the iterable.
no setter
variance double

Available on Iterable<double>, provided by the DHUListDoubleStats extension

Computes the variance of the doubles in the iterable.
no setter

Methods

percentile(double percentile) double

Available on Iterable<double>, provided by the DHUListDoubleStats extension

Computes the specified percentile of the doubles in the iterable.