IntIterableExtensions extension
Methods
-
average(
) → double - Calculate the average using all values in the int list.
-
max(
) → int - Calculate the maximum value in the int list.
-
min(
) → int - Calculate the minimum value in the int list.
-
nearestOrNull(
num point) → int? -
Get the closest int to
point
in the int array. -
smoothing(
{int n = 3}) → List< double> -
Smooth this array with
n
moving averages. -
standardDeviation(
) → double - Calculate the standard deviation using all values in the int list.
-
sum(
) → int - Calculate the sum using all values in the int list.
-
variance(
) → double - Calculate the variance using all the values in the list of int.