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