Mean value

mean expr1
(mean expr1 expr2 ...)

Returns the mean value of all values of exprNN. If any exprNN is a collection then all values in this collection are included in the mean value calculation.

Example:

"a := {3 {2 1}}
print mean :a
print (mean 4 :a)

Output:

2
3

See also:

Table of Content