/math-mean

Calculating means.

Primary LanguageJavaScript

math-mean

Math.mean exposes the following methods:

  • arithmetic(numbers, weights = null)
  • geometric(numbers, weights = null)
  • harmonic(numbers, weights = null)
  • quadratic(numbers, weights = null)
  • power(numbers, weights = null, power)
  • root(numbers, weights = null, degree = 2)
  • logarithmic(numbers, weights = null, base = Math.E)