Return the mean of all elements of the array
var n = Array([1, 2, 3]); print(mean(n)); /* output: 2.0 */
double mean(Array a) { return arraySum(a) / a.length; }