@stdlib/stats-iter-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 +48 -4
- package/package.json +2 -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
|
# itermeanabs
|
|
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 the [arithmetic mean][arithmetic-mean] of absolute values for all [iterated][mdn-iterator-protocol] values.
|
|
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@896f937c33114bc5971c1cf87c60fbdbbb66f6ba/lib/node_modules/@stdlib/stats/iter/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
|
|
|
@@ -127,6 +127,22 @@ console.log( 'meanabs: %d.', m );
|
|
|
127
127
|
|
|
128
128
|
<!-- /.references -->
|
|
129
129
|
|
|
130
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
131
|
+
|
|
132
|
+
<section class="related">
|
|
133
|
+
|
|
134
|
+
* * *
|
|
135
|
+
|
|
136
|
+
## See Also
|
|
137
|
+
|
|
138
|
+
- <span class="package-name">[`@stdlib/stats/iter/mean`][@stdlib/stats/iter/mean]</span><span class="delimiter">: </span><span class="description">compute the arithmetic mean over all iterated values.</span>
|
|
139
|
+
- <span class="package-name">[`@stdlib/stats/iter/mmeanabs`][@stdlib/stats/iter/mmeanabs]</span><span class="delimiter">: </span><span class="description">create an iterator which iteratively computes a moving arithmetic mean of absolute values.</span>
|
|
140
|
+
- <span class="package-name">[`@stdlib/stats/iter/sumabs`][@stdlib/stats/iter/sumabs]</span><span class="delimiter">: </span><span class="description">compute the sum of absolute values for all iterated values.</span>
|
|
141
|
+
|
|
142
|
+
</section>
|
|
143
|
+
|
|
144
|
+
<!-- /.related -->
|
|
145
|
+
|
|
130
146
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
131
147
|
|
|
132
148
|
|
|
@@ -140,6 +156,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
140
156
|
|
|
141
157
|
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].
|
|
142
158
|
|
|
159
|
+
#### Community
|
|
160
|
+
|
|
161
|
+
[![Chat][chat-image]][chat-url]
|
|
162
|
+
|
|
143
163
|
---
|
|
144
164
|
|
|
145
165
|
## License
|
|
@@ -149,7 +169,7 @@ See [LICENSE][stdlib-license].
|
|
|
149
169
|
|
|
150
170
|
## Copyright
|
|
151
171
|
|
|
152
|
-
Copyright © 2016-
|
|
172
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
153
173
|
|
|
154
174
|
</section>
|
|
155
175
|
|
|
@@ -168,9 +188,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
168
188
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-iter-meanabs/main.svg
|
|
169
189
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-iter-meanabs?branch=main
|
|
170
190
|
|
|
171
|
-
|
|
191
|
+
<!--
|
|
192
|
+
|
|
193
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-iter-meanabs.svg
|
|
172
194
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-iter-meanabs/main
|
|
173
195
|
|
|
196
|
+
-->
|
|
197
|
+
|
|
198
|
+
[umd]: https://github.com/umdjs/umd
|
|
199
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
200
|
+
|
|
201
|
+
[deno-url]: https://github.com/stdlib-js/stats-iter-meanabs/tree/deno
|
|
202
|
+
[umd-url]: https://github.com/stdlib-js/stats-iter-meanabs/tree/umd
|
|
203
|
+
[esm-url]: https://github.com/stdlib-js/stats-iter-meanabs/tree/esm
|
|
204
|
+
|
|
205
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
206
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
207
|
+
|
|
174
208
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
175
209
|
|
|
176
210
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -181,6 +215,16 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
181
215
|
|
|
182
216
|
[mdn-iterator-protocol]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterator_protocol
|
|
183
217
|
|
|
218
|
+
<!-- <related-links> -->
|
|
219
|
+
|
|
220
|
+
[@stdlib/stats/iter/mean]: https://www.npmjs.com/package/@stdlib/stats-iter-mean
|
|
221
|
+
|
|
222
|
+
[@stdlib/stats/iter/mmeanabs]: https://www.npmjs.com/package/@stdlib/stats-iter-mmeanabs
|
|
223
|
+
|
|
224
|
+
[@stdlib/stats/iter/sumabs]: https://www.npmjs.com/package/@stdlib/stats-iter-sumabs
|
|
225
|
+
|
|
226
|
+
<!-- </related-links> -->
|
|
227
|
+
|
|
184
228
|
</section>
|
|
185
229
|
|
|
186
230
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-iter-meanabs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Compute the arithmetic mean of absolute values for all iterated values.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"examples": "make examples",
|
|
29
29
|
"benchmark": "make benchmark"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git://github.com/stdlib-js/stats-iter-meanabs.git"
|