6 lines
97 B
Text
6 lines
97 B
Text
avg(x)
|
|
where
|
|
sum = first(x) fby sum + next(x);
|
|
n = 1 fby n + 1;
|
|
avg = sum / n;
|
|
end
|