util/array
library
Functions
-
adjacentNTuples<T>(List<T> objects, int n)
→ List<List<T>>
-
-
adjacentPairs<T>(List<T> objects)
→ List<List<T>>
-
-
arange({double start = 0, required double end, double step = 1})
→ Array
-
-
argmax(List<num> array)
→ int
-
-
argmin(List<num> array)
→ int
-
-
batchByProperty<T, B>(List<T> items, B propertyFunc(T))
→ List<Tuple2<List<T>, B>>
-
-
enumerate<T>(List<T> list)
→ List<Tuple2<int, T>>
-
-
linspace({required double start, required double end, required int count})
→ Array
-
-
makeEven<A, B>(List<A> listA, List<B> listB)
→ Tuple2<List<A>, List<B>>
-
-
range({int start = 0, required int end, int step = 1})
→ List<int>
-
-
stretchListToLength<T>(List<T> list, int length)
→ List<T>
-
-
sum<T extends num>(List<T> l)
→ T
-
-
unique<T>(List<T> nonUnique)
→ List<T>
-
-
withoutFirst<T>(List<T> list)
→ List<T>
-
-
withoutLast<T>(List<T> list)
→ List<T>
-
-
withoutRedundancies<T>(List<T> list)
→ List<T>
-