AggregateNumberIterable<E extends num> extension
Provides aggregate functions for Iterables of nums.
This is a specialized implementation of AggregateIterable and AggregateComparableIterable that handles double.nan elements properly.
- on
-
- Iterable<
E>
- Iterable<
Properties
- average → double
-
Available on Iterable<
The average of all elements in this iterable, or double.nan if empty.E> , provided by the AggregateNumberIterable extensionno setter - max → E?
-
Available on Iterable<
The maximum element in this iterable orE> , provided by the AggregateNumberIterable extensionnull
if empty. Returns double.nan if present.no setter - min → E?
-
Available on Iterable<
The minimum element in this iterable orE> , provided by the AggregateNumberIterable extensionnull
if empty. Returns double.nan if present.no setter - sum → E
-
Available on Iterable<
The sum of all elements in this iterable. Returns double.nan if present.E> , provided by the AggregateNumberIterable extensionno setter