Averages/Arithmetic mean: Difference between revisions
m
→{{header|Nial}}
Line 280:
but it fails with 0 length vectors. so using a tally with a minimum value 1
dtally is recur [ empty rest, 1 first, 1 first, plus, rest ]
mean is / [sum, dtally]
|