input:
one-dimensional array of type Double []
output:
value of type Double
The operator calculates the mean value of all entries of the given array.