@stdlib/stats-incr-meanabs 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
|
# incrmeanabs
|
|
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 an [arithmetic mean][arithmetic-mean] of absolute values incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [arithmetic mean][arithmetic-mean] of absolute values is defined as
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:arithmetic_mean_absolute_values" align="center" raw="\mu = \frac{1}{n} \sum_{i=0}^{n-1} |x_i|" alt="Equation for the arithmetic mean of absolute values."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\mu = \frac{1}{n} \sum_{i=0}^{n-1} |x_i|" data-equation="eq:arithmetic_mean_absolute_values">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/meanabs/docs/img/equation_arithmetic_mean_absolute_values.svg" alt="Equation for the arithmetic mean of absolute values.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -130,6 +130,24 @@ console.log( accumulator() );
|
|
|
130
130
|
|
|
131
131
|
<!-- /.examples -->
|
|
132
132
|
|
|
133
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
134
|
+
|
|
135
|
+
<section class="related">
|
|
136
|
+
|
|
137
|
+
* * *
|
|
138
|
+
|
|
139
|
+
## See Also
|
|
140
|
+
|
|
141
|
+
- <span class="package-name">[`@stdlib/stats/incr/mean`][@stdlib/stats/incr/mean]</span><span class="delimiter">: </span><span class="description">compute an arithmetic mean incrementally.</span>
|
|
142
|
+
- <span class="package-name">[`@stdlib/stats/incr/mmeanabs`][@stdlib/stats/incr/mmeanabs]</span><span class="delimiter">: </span><span class="description">compute a moving arithmetic mean of absolute values incrementally.</span>
|
|
143
|
+
- <span class="package-name">[`@stdlib/stats/incr/sumabs`][@stdlib/stats/incr/sumabs]</span><span class="delimiter">: </span><span class="description">compute a sum of absolute values incrementally.</span>
|
|
144
|
+
|
|
145
|
+
</section>
|
|
146
|
+
|
|
147
|
+
<!-- /.related -->
|
|
148
|
+
|
|
149
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
150
|
+
|
|
133
151
|
|
|
134
152
|
<section class="main-repo" >
|
|
135
153
|
|
|
@@ -141,6 +159,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
141
159
|
|
|
142
160
|
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].
|
|
143
161
|
|
|
162
|
+
#### Community
|
|
163
|
+
|
|
164
|
+
[![Chat][chat-image]][chat-url]
|
|
165
|
+
|
|
144
166
|
---
|
|
145
167
|
|
|
146
168
|
## License
|
|
@@ -150,7 +172,7 @@ See [LICENSE][stdlib-license].
|
|
|
150
172
|
|
|
151
173
|
## Copyright
|
|
152
174
|
|
|
153
|
-
Copyright © 2016-
|
|
175
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
154
176
|
|
|
155
177
|
</section>
|
|
156
178
|
|
|
@@ -169,9 +191,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
169
191
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-meanabs/main.svg
|
|
170
192
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-meanabs?branch=main
|
|
171
193
|
|
|
172
|
-
|
|
194
|
+
<!--
|
|
195
|
+
|
|
196
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-meanabs.svg
|
|
173
197
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-meanabs/main
|
|
174
198
|
|
|
199
|
+
-->
|
|
200
|
+
|
|
201
|
+
[umd]: https://github.com/umdjs/umd
|
|
202
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
203
|
+
|
|
204
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-meanabs/tree/deno
|
|
205
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-meanabs/tree/umd
|
|
206
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-meanabs/tree/esm
|
|
207
|
+
|
|
208
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
209
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
210
|
+
|
|
175
211
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
176
212
|
|
|
177
213
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -180,6 +216,16 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
180
216
|
|
|
181
217
|
[arithmetic-mean]: https://en.wikipedia.org/wiki/Arithmetic_mean
|
|
182
218
|
|
|
219
|
+
<!-- <related-links> -->
|
|
220
|
+
|
|
221
|
+
[@stdlib/stats/incr/mean]: https://www.npmjs.com/package/@stdlib/stats-incr-mean
|
|
222
|
+
|
|
223
|
+
[@stdlib/stats/incr/mmeanabs]: https://www.npmjs.com/package/@stdlib/stats-incr-mmeanabs
|
|
224
|
+
|
|
225
|
+
[@stdlib/stats/incr/sumabs]: https://www.npmjs.com/package/@stdlib/stats-incr-sumabs
|
|
226
|
+
|
|
227
|
+
<!-- </related-links> -->
|
|
228
|
+
|
|
183
229
|
</section>
|
|
184
230
|
|
|
185
231
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-meanabs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Compute an arithmetic mean of absolute values 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-meanabs.git"
|