Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damianc/math-mean
Calculating means.
https://github.com/damianc/math-mean
Last synced: about 1 month ago
JSON representation
Calculating means.
- Host: GitHub
- URL: https://github.com/damianc/math-mean
- Owner: damianc
- Created: 2023-11-07T12:44:24.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-08T18:40:36.000Z (5 months ago)
- Last Synced: 2024-08-08T21:25:38.714Z (5 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)`