Anonymous user
Averages/Arithmetic mean: Difference between revisions
→{{header|F_Sharp|F#}}
(→{{header|UnixPipes}}: Add {{incorrect}}; there is a race between parallel commands.) |
|||
Line 629:
let mean_series list =
let
▲ f 0. 0 list</lang>
Checking this:
Line 642 ⟶ 639:
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|GAP}}==
<lang gap>Mean := function(v)
|