MATH(MEAN a())

Returns the average of all values in the a() array, a() can have any number of dimensions