IterableNumExtension extension
Methods
-
arithmeticMean(
) → double -
Available on Iterable<
Returns the arithmetic mean (or average) of this Iterable, or double.nan if the iterable is empty.num> , provided by the IterableNumExtension extension -
average(
) → double -
Available on Iterable<
Returns the average of this Iterable, see arithmeticMean for details.num> , provided by the IterableNumExtension extension -
geometricMean(
) → double -
Available on Iterable<
Returns the geometric mean of this Iterable, or double.nan if the iterable is empty.num> , provided by the IterableNumExtension extension -
harmonicMean(
) → double -
Available on Iterable<
Returns the harmonic mean of this Iterable, or double.nan if the sum of the iterable is 0.num> , provided by the IterableNumExtension extension -
product(
) → double -
Available on Iterable<
Returns the product of this Iterable.num> , provided by the IterableNumExtension extension -
standardDeviation(
{bool population = false}) → double -
Available on Iterable<
Returns the square root of the (population) variance of this Iterable, or double.nan if the iterable contains less than 2 (1 for population variance) values.num> , provided by the IterableNumExtension extension -
sum(
) → double -
Available on Iterable<
Returns the sum of this Iterable.num> , provided by the IterableNumExtension extension -
variance(
{bool population = false}) → double -
Available on Iterable<
Returns the (population) variance of this Iterable, or double.nan if the iterable contains less than 2 (1 for population variance) values.num> , provided by the IterableNumExtension extension