Class mean

All Implemented Interfaces:
ArithFunction, Serializable

public class mean extends DefaultArithFunction

Function: math.mean(L): returns the average mean of all values of L.

Examples:

  • math.mean([1,3]): returns 2.
  • math.mean([]): fail.
See Also: