DoubleIterableExtensions extension

Provides extended methods for double arrays.

doubleの配列用の拡張メソッドを提供します。

on

Methods

average() double

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

Calculate the average using all values in the double list.
max() double

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

Calculate the maximum value in the double list.
min() double

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

Calculate the minimum value in the double list.
nearestOrNull(num point) double?

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

Get the closest double to point in the double array.
smoothing({int n = 3}) List<double>

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

Smooth this array with n moving averages.
standardDeviation() double

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

Calculate the standard deviation using all values in the double list.
sum() double

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

Calculate the sum using all values in the double list.
variance() double

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

Calculate the variance using all the values in the list of int.