@stdlib/stats-incr-sum 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 +56 -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
|
# incrsum
|
|
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 incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The sum is defined as
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:sum" align="center" raw="s = \sum_{i=0}^{n-1} x_i" alt="Equation for the sum."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="s = \sum_{i=0}^{n-1} x_i" data-equation="eq:sum">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/sum/docs/img/equation_sum.svg" alt="Equation for the sum.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -143,6 +143,26 @@ console.log( accumulator() );
|
|
|
143
143
|
|
|
144
144
|
<!-- /.references -->
|
|
145
145
|
|
|
146
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
147
|
+
|
|
148
|
+
<section class="related">
|
|
149
|
+
|
|
150
|
+
* * *
|
|
151
|
+
|
|
152
|
+
## See Also
|
|
153
|
+
|
|
154
|
+
- <span class="package-name">[`@stdlib/stats/incr/count`][@stdlib/stats/incr/count]</span><span class="delimiter">: </span><span class="description">compute a count incrementally.</span>
|
|
155
|
+
- <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>
|
|
156
|
+
- <span class="package-name">[`@stdlib/stats/incr/msum`][@stdlib/stats/incr/msum]</span><span class="delimiter">: </span><span class="description">compute a moving sum incrementally.</span>
|
|
157
|
+
- <span class="package-name">[`@stdlib/stats/incr/prod`][@stdlib/stats/incr/prod]</span><span class="delimiter">: </span><span class="description">compute a product incrementally.</span>
|
|
158
|
+
- <span class="package-name">[`@stdlib/stats/incr/summary`][@stdlib/stats/incr/summary]</span><span class="delimiter">: </span><span class="description">compute a statistical summary incrementally.</span>
|
|
159
|
+
|
|
160
|
+
</section>
|
|
161
|
+
|
|
162
|
+
<!-- /.related -->
|
|
163
|
+
|
|
164
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
165
|
+
|
|
146
166
|
|
|
147
167
|
<section class="main-repo" >
|
|
148
168
|
|
|
@@ -154,6 +174,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
154
174
|
|
|
155
175
|
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].
|
|
156
176
|
|
|
177
|
+
#### Community
|
|
178
|
+
|
|
179
|
+
[![Chat][chat-image]][chat-url]
|
|
180
|
+
|
|
157
181
|
---
|
|
158
182
|
|
|
159
183
|
## License
|
|
@@ -163,7 +187,7 @@ See [LICENSE][stdlib-license].
|
|
|
163
187
|
|
|
164
188
|
## Copyright
|
|
165
189
|
|
|
166
|
-
Copyright © 2016-
|
|
190
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
167
191
|
|
|
168
192
|
</section>
|
|
169
193
|
|
|
@@ -182,9 +206,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
182
206
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-sum/main.svg
|
|
183
207
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-sum?branch=main
|
|
184
208
|
|
|
185
|
-
|
|
209
|
+
<!--
|
|
210
|
+
|
|
211
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-sum.svg
|
|
186
212
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-sum/main
|
|
187
213
|
|
|
214
|
+
-->
|
|
215
|
+
|
|
216
|
+
[umd]: https://github.com/umdjs/umd
|
|
217
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
218
|
+
|
|
219
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-sum/tree/deno
|
|
220
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-sum/tree/umd
|
|
221
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-sum/tree/esm
|
|
222
|
+
|
|
223
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
224
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
225
|
+
|
|
188
226
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
189
227
|
|
|
190
228
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -193,6 +231,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
193
231
|
|
|
194
232
|
[@klein:2005a]: https://doi.org/10.1007/s00607-005-0139-x
|
|
195
233
|
|
|
234
|
+
<!-- <related-links> -->
|
|
235
|
+
|
|
236
|
+
[@stdlib/stats/incr/count]: https://www.npmjs.com/package/@stdlib/stats-incr-count
|
|
237
|
+
|
|
238
|
+
[@stdlib/stats/incr/mean]: https://www.npmjs.com/package/@stdlib/stats-incr-mean
|
|
239
|
+
|
|
240
|
+
[@stdlib/stats/incr/msum]: https://www.npmjs.com/package/@stdlib/stats-incr-msum
|
|
241
|
+
|
|
242
|
+
[@stdlib/stats/incr/prod]: https://www.npmjs.com/package/@stdlib/stats-incr-prod
|
|
243
|
+
|
|
244
|
+
[@stdlib/stats/incr/summary]: https://www.npmjs.com/package/@stdlib/stats-incr-summary
|
|
245
|
+
|
|
246
|
+
<!-- </related-links> -->
|
|
247
|
+
|
|
196
248
|
</section>
|
|
197
249
|
|
|
198
250
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-sum",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Compute a sum 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-sum.git"
|