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