@stdlib/stats-incr 0.0.5 → 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 +25 -4
- package/docs/types/index.d.ts +3 -3
- package/package.json +2 -2
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,9 +20,9 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# Incremental Statistics
|
|
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
|
+
> Incremental statistics.
|
|
26
26
|
|
|
27
27
|
<section class="installation">
|
|
28
28
|
|
|
@@ -44,7 +44,7 @@ var ns = require( '@stdlib/stats-incr' );
|
|
|
44
44
|
|
|
45
45
|
#### ns
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Namespace containing functions for computing statistics incrementally.
|
|
48
48
|
|
|
49
49
|
```javascript
|
|
50
50
|
var incr = ns;
|
|
@@ -177,6 +177,16 @@ console.log( getKeys( ns ) );
|
|
|
177
177
|
|
|
178
178
|
<!-- /.examples -->
|
|
179
179
|
|
|
180
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
181
|
+
|
|
182
|
+
<section class="related">
|
|
183
|
+
|
|
184
|
+
</section>
|
|
185
|
+
|
|
186
|
+
<!-- /.related -->
|
|
187
|
+
|
|
188
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
189
|
+
|
|
180
190
|
|
|
181
191
|
<section class="main-repo" >
|
|
182
192
|
|
|
@@ -201,7 +211,7 @@ See [LICENSE][stdlib-license].
|
|
|
201
211
|
|
|
202
212
|
## Copyright
|
|
203
213
|
|
|
204
|
-
Copyright © 2016-
|
|
214
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
205
215
|
|
|
206
216
|
</section>
|
|
207
217
|
|
|
@@ -220,9 +230,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
220
230
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr/main.svg
|
|
221
231
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr?branch=main
|
|
222
232
|
|
|
233
|
+
<!--
|
|
234
|
+
|
|
223
235
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr.svg
|
|
224
236
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr/main
|
|
225
237
|
|
|
238
|
+
-->
|
|
239
|
+
|
|
240
|
+
[umd]: https://github.com/umdjs/umd
|
|
241
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
242
|
+
|
|
243
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr/tree/deno
|
|
244
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr/tree/umd
|
|
245
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr/tree/esm
|
|
246
|
+
|
|
226
247
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
227
248
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
228
249
|
|
package/docs/types/index.d.ts
CHANGED
|
@@ -322,8 +322,8 @@ interface Namespace {
|
|
|
322
322
|
* Returns an accumulator function which incrementally computes an exponentially weighted variance.
|
|
323
323
|
*
|
|
324
324
|
* @param alpha - smoothing factor
|
|
325
|
-
* @throws
|
|
326
|
-
* @throws
|
|
325
|
+
* @throws must provide a nonnegative number
|
|
326
|
+
* @throws must be on the interval `[0,1]`
|
|
327
327
|
* @returns accumulator function
|
|
328
328
|
*
|
|
329
329
|
* @example
|
|
@@ -2923,7 +2923,7 @@ interface Namespace {
|
|
|
2923
2923
|
}
|
|
2924
2924
|
|
|
2925
2925
|
/**
|
|
2926
|
-
*
|
|
2926
|
+
* Incremental statistics.
|
|
2927
2927
|
*/
|
|
2928
2928
|
declare var ns: Namespace;
|
|
2929
2929
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "Incremental statistics.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "The Stdlib Authors",
|