Anonymous user
Averages/Arithmetic mean: Difference between revisions
m
F# added List.average
No edit summary |
m (F# added List.average) |
||
Line 313:
> mean_series [] ;;
val it : float = 0.0
We can also make do with the built-in ''List.average'' function
List.average [4;1;7;5;8;4;5;2;1;5;2;5]
=={{header|Groovy}}==
|