DoubleIterableExtensions extension
Methods
-
average(
) → double - Calculate the average using all values in the double list.
-
max(
) → double - Calculate the maximum value in the double list.
-
min(
) → double - Calculate the minimum value in the double list.
-
nearestOrNull(
num point) → double? -
Get the closest double to
point
in the double 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 double list.
-
sum(
) → double - Calculate the sum using all values in the double list.
-
variance(
) → double - Calculate the variance using all the values in the list of int.