mean

ABSTRACT

Finds the mean of a vector of numbers

PARAMETERS
xthe input vector of numbers, which must contain at least one element
RETURN

the sum of the elements of the input divided by the total number

DECLARATION
func mean(x)