compute-incrmmean
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "compute-incrmmean", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Provides a method to compute a moving arithmetic mean incrementally.", | ||
@@ -51,3 +51,5 @@ "author": { | ||
"coveralls": "^2.11.1", | ||
"istanbul": "^0.3.0" | ||
"istanbul": "^0.3.0", | ||
"jshint": "2.x.x", | ||
"jshint-stylish": "^1.0.0" | ||
}, | ||
@@ -54,0 +56,0 @@ "licenses": [ |
@@ -67,3 +67,3 @@ incrmmean | ||
The use case for this module differs from the conventional [vector](https://github.com/compute-io/incrmmean) implementation and the [stream](https://github.com/flow-io/) implementation. Namely, this module decouples the act of updating the moving mean from the act of consuming the moving mean. | ||
The use case for this module differs from the conventional [vector](https://github.com/compute-io/mmean) implementation and the [stream](https://github.com/flow-io/) implementation. Namely, this module decouples the act of updating the moving mean from the act of consuming the moving mean. | ||
@@ -78,3 +78,4 @@ | ||
// Initialize a method to calculate the moving mean incrementally: | ||
var mmean = incrmmean( 5 ); | ||
var mmean = incrmmean( 5 ), | ||
mu; | ||
@@ -105,3 +106,3 @@ // Simulate some data... | ||
Unit tests use the [Mocha](http://visionmedia.github.io/mocha) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory: | ||
Unit tests use the [Mocha](http://mochajs.org) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory: | ||
@@ -108,0 +109,0 @@ ``` bash |
8318
156
6