Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atlassubbed/atlas-mean-square
https://github.com/atlassubbed/atlas-mean-square
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/atlassubbed/atlas-mean-square
- Owner: atlassubbed
- License: other
- Created: 2018-07-15T01:51:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T04:19:24.000Z (over 6 years ago)
- Last Synced: 2024-04-25T06:42:58.565Z (9 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# atlas-mean-square
Calculates the squared quadratic mean of a set of data points.
[![Travis](https://img.shields.io/travis/atlassubbed/atlas-mean-square.svg)](https://travis-ci.org/atlassubbed/atlas-mean-square)
---
## install
```
npm install --save atlas-mean-square
```## why
Breaking up [atlas-dataset](https://github.com/atlassubbed/atlas-dataset#readme) into standalone functions. This module calculates the square of the quadratic mean of an array of numbers:
## examples
```javascript
const meanSquare = require("atlas-mean-square")
console.log(meanSquare([-2, 2]))
// 4
```