Changes

Jump to navigation Jump to search
233 bytes added ,  20:02, 7 March 2020
Line 71: Line 71:  
* Sum(func) – Returns the sum of running func(x) on all elements
 
* Sum(func) – Returns the sum of running func(x) on all elements
 
* Average(func) – Returns the sum of running func(x) on all elements divided by the amount of elements
 
* Average(func) – Returns the sum of running func(x) on all elements divided by the amount of elements
 +
* Min(func) – Returns the smallest number resulting from running func(x) on all elements, returns 0 on empty input
 +
* Max(func) – Returns the largest number resulting from running func(x) on all elements, returns 0 on empty input
 
* Size() – Returns how many elements there are in the enumerable
 
* Size() – Returns how many elements there are in the enumerable
 
* GetRandomElement() – Returns a random element from the enumerable
 
* GetRandomElement() – Returns a random element from the enumerable

Navigation menu