|
  
avg
Format: avg( list )
avg( x1, x2, ... )
Arguments: [num] list Input list
(num) x1, x2, ... Input numbers; may include real and
complex numbers
Returns: (num) The numeric average (mean) of all
elements in list if only one argument is supplied or the
average of all arguments if more than one argument is supplied
Examples: avg([2,3,2,-1]) =
1.5
avg(2,3,2,-1) = 1.5
avg([2,3,2+8*I,-1]) = 1.5+2i
avg(x) = average of all
elements in the list named x
See Also: count, sum, prod,
std, variance, max, min,
med
|