4 lines
92 B
Factor
4 lines
92 B
Factor
USING: math math.statistics ;
|
|
|
|
: arithmetic-mean ( seq -- n )
|
|
[ 0 ] [ mean ] if-empty ;
|