Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damianc/math-mean

Calculating means.
https://github.com/damianc/math-mean

Last synced: about 1 month ago
JSON representation

Calculating means.

Awesome Lists containing this project

README

        

# 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)`
- `contraharmonic(numbers, weights = null)`
- `Lehmer(numbers, weights = null, p = 2)`