@stdlib/stats-incr-mgmean 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +50 -4
- package/package.json +3 -2
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# incrmgmean
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Compute a moving [geometric mean][geometric-mean] incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [geometric mean][geometric-mean] is defined as the nth root of a product of
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:geometric_mean" align="center" raw="\biggl( \prod_{i=0}^{n-1} \biggr)^{\frac{1}{n}} = \sqrt[n]{x_0 x_1 \cdots x_{n-1}}" alt="Equation for the geometric mean."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\biggl( \prod_{i=0}^{n-1} \biggr)^{\frac{1}{n}} = \sqrt[n]{x_0 x_1 \cdots x_{n-1}}" data-equation="eq:geometric_mean">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/mgmean/docs/img/equation_geometric_mean.svg" alt="Equation for the geometric mean.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -142,6 +142,24 @@ console.log( accumulator() );
|
|
|
142
142
|
|
|
143
143
|
<!-- /.examples -->
|
|
144
144
|
|
|
145
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
146
|
+
|
|
147
|
+
<section class="related">
|
|
148
|
+
|
|
149
|
+
* * *
|
|
150
|
+
|
|
151
|
+
## See Also
|
|
152
|
+
|
|
153
|
+
- <span class="package-name">[`@stdlib/stats/incr/gmean`][@stdlib/stats/incr/gmean]</span><span class="delimiter">: </span><span class="description">compute a geometric mean incrementally.</span>
|
|
154
|
+
- <span class="package-name">[`@stdlib/stats/incr/mhmean`][@stdlib/stats/incr/mhmean]</span><span class="delimiter">: </span><span class="description">compute a moving harmonic mean incrementally.</span>
|
|
155
|
+
- <span class="package-name">[`@stdlib/stats/incr/mmean`][@stdlib/stats/incr/mmean]</span><span class="delimiter">: </span><span class="description">compute a moving arithmetic mean incrementally.</span>
|
|
156
|
+
|
|
157
|
+
</section>
|
|
158
|
+
|
|
159
|
+
<!-- /.related -->
|
|
160
|
+
|
|
161
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
162
|
+
|
|
145
163
|
|
|
146
164
|
<section class="main-repo" >
|
|
147
165
|
|
|
@@ -153,6 +171,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
153
171
|
|
|
154
172
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
155
173
|
|
|
174
|
+
#### Community
|
|
175
|
+
|
|
176
|
+
[![Chat][chat-image]][chat-url]
|
|
177
|
+
|
|
156
178
|
---
|
|
157
179
|
|
|
158
180
|
## License
|
|
@@ -162,7 +184,7 @@ See [LICENSE][stdlib-license].
|
|
|
162
184
|
|
|
163
185
|
## Copyright
|
|
164
186
|
|
|
165
|
-
Copyright © 2016-
|
|
187
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
166
188
|
|
|
167
189
|
</section>
|
|
168
190
|
|
|
@@ -181,9 +203,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
181
203
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-mgmean/main.svg
|
|
182
204
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-mgmean?branch=main
|
|
183
205
|
|
|
184
|
-
|
|
206
|
+
<!--
|
|
207
|
+
|
|
208
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-mgmean.svg
|
|
185
209
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-mgmean/main
|
|
186
210
|
|
|
211
|
+
-->
|
|
212
|
+
|
|
213
|
+
[umd]: https://github.com/umdjs/umd
|
|
214
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
215
|
+
|
|
216
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-mgmean/tree/deno
|
|
217
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-mgmean/tree/umd
|
|
218
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-mgmean/tree/esm
|
|
219
|
+
|
|
220
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
221
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
222
|
+
|
|
187
223
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
188
224
|
|
|
189
225
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -192,6 +228,16 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
192
228
|
|
|
193
229
|
[geometric-mean]: https://en.wikipedia.org/wiki/Geometric_mean
|
|
194
230
|
|
|
231
|
+
<!-- <related-links> -->
|
|
232
|
+
|
|
233
|
+
[@stdlib/stats/incr/gmean]: https://www.npmjs.com/package/@stdlib/stats-incr-gmean
|
|
234
|
+
|
|
235
|
+
[@stdlib/stats/incr/mhmean]: https://www.npmjs.com/package/@stdlib/stats-incr-mhmean
|
|
236
|
+
|
|
237
|
+
[@stdlib/stats/incr/mmean]: https://www.npmjs.com/package/@stdlib/stats-incr-mmean
|
|
238
|
+
|
|
239
|
+
<!-- </related-links> -->
|
|
240
|
+
|
|
195
241
|
</section>
|
|
196
242
|
|
|
197
243
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-mgmean",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Compute a moving geometric mean incrementally.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
+
"benchmark": "./benchmark",
|
|
18
19
|
"doc": "./docs",
|
|
19
20
|
"example": "./examples",
|
|
20
21
|
"lib": "./lib",
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
"examples": "make examples",
|
|
28
29
|
"benchmark": "make benchmark"
|
|
29
30
|
},
|
|
30
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
31
32
|
"repository": {
|
|
32
33
|
"type": "git",
|
|
33
34
|
"url": "git://github.com/stdlib-js/stats-incr-mgmean.git"
|