@stdlib/stats-base-snanstdevpn 0.1.1 → 0.2.0
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 +6 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +5 -5
- package/package.json +15 -14
- package/CITATION.cff +0 -30
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -286,7 +286,7 @@ See [LICENSE][stdlib-license].
|
|
|
286
286
|
|
|
287
287
|
## Copyright
|
|
288
288
|
|
|
289
|
-
Copyright © 2016-
|
|
289
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
290
290
|
|
|
291
291
|
</section>
|
|
292
292
|
|
|
@@ -299,8 +299,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
299
299
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-snanstdevpn.svg
|
|
300
300
|
[npm-url]: https://npmjs.org/package/@stdlib/stats-base-snanstdevpn
|
|
301
301
|
|
|
302
|
-
[test-image]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
303
|
-
[test-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml?query=branch:v0.
|
|
302
|
+
[test-image]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
303
|
+
[test-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/actions/workflows/test.yml?query=branch:v0.2.0
|
|
304
304
|
|
|
305
305
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-snanstdevpn/main.svg
|
|
306
306
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-snanstdevpn?branch=main
|
|
@@ -323,8 +323,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
323
323
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
324
324
|
|
|
325
325
|
[deno-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/tree/deno
|
|
326
|
+
[deno-readme]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/deno/README.md
|
|
326
327
|
[umd-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/tree/umd
|
|
328
|
+
[umd-readme]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/umd/README.md
|
|
327
329
|
[esm-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/tree/esm
|
|
330
|
+
[esm-readme]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/esm/README.md
|
|
328
331
|
[branches-url]: https://github.com/stdlib-js/stats-base-snanstdevpn/blob/main/branches.md
|
|
329
332
|
|
|
330
333
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-snanstdevpn/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ interface Routine {
|
|
|
32
32
|
* @returns standard deviation
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
|
-
* var Float32Array = require(
|
|
35
|
+
* var Float32Array = require( '@stdlib/array-float32' );
|
|
36
36
|
*
|
|
37
37
|
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
|
|
38
38
|
*
|
|
@@ -52,14 +52,14 @@ interface Routine {
|
|
|
52
52
|
* @returns standard deviation
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
|
-
* var Float32Array = require(
|
|
55
|
+
* var Float32Array = require( '@stdlib/array-float32' );
|
|
56
56
|
*
|
|
57
57
|
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
|
|
58
58
|
*
|
|
59
59
|
* var v = snanstdevpn.ndarray( x.length, 1, x, 1, 0 );
|
|
60
60
|
* // returns ~2.0817
|
|
61
61
|
*/
|
|
62
|
-
ndarray( N: number, correction: number, x: Float32Array, stride: number, offset: number ): number;
|
|
62
|
+
ndarray( N: number, correction: number, x: Float32Array, stride: number, offset: number ): number;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -72,7 +72,7 @@ interface Routine {
|
|
|
72
72
|
* @returns standard deviation
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
|
-
* var Float32Array = require(
|
|
75
|
+
* var Float32Array = require( '@stdlib/array-float32' );
|
|
76
76
|
*
|
|
77
77
|
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
|
|
78
78
|
*
|
|
@@ -80,7 +80,7 @@ interface Routine {
|
|
|
80
80
|
* // returns ~2.0817
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
* var Float32Array = require(
|
|
83
|
+
* var Float32Array = require( '@stdlib/array-float32' );
|
|
84
84
|
*
|
|
85
85
|
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
|
|
86
86
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-base-snanstdevpn",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Calculate the standard deviation of a single-precision floating-point strided array ignoring NaN values and using a two-pass algorithm.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -41,29 +41,30 @@
|
|
|
41
41
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@stdlib/assert-is-error": "^0.
|
|
45
|
-
"@stdlib/math-base-special-sqrt": "^0.
|
|
46
|
-
"@stdlib/number-float64-base-to-float32": "^0.
|
|
47
|
-
"@stdlib/stats-base-snanvariancepn": "^0.
|
|
48
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.
|
|
49
|
-
"@stdlib/utils-library-manifest": "^0.
|
|
50
|
-
"@stdlib/utils-try-require": "^0.
|
|
44
|
+
"@stdlib/assert-is-error": "^0.2.0",
|
|
45
|
+
"@stdlib/math-base-special-sqrt": "^0.2.0",
|
|
46
|
+
"@stdlib/number-float64-base-to-float32": "^0.2.0",
|
|
47
|
+
"@stdlib/stats-base-snanvariancepn": "^0.2.0",
|
|
48
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
|
|
49
|
+
"@stdlib/utils-library-manifest": "^0.2.0",
|
|
50
|
+
"@stdlib/utils-try-require": "^0.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@stdlib/array-float32": "^0.1.
|
|
53
|
+
"@stdlib/array-float32": "^0.1.1",
|
|
54
54
|
"@stdlib/assert-is-browser": "^0.1.1",
|
|
55
|
-
"@stdlib/
|
|
56
|
-
"@stdlib/constants-float32-eps": "^0.1.0",
|
|
55
|
+
"@stdlib/constants-float32-eps": "^0.1.1",
|
|
57
56
|
"@stdlib/math-base-assert-is-nanf": "^0.1.1",
|
|
58
|
-
"@stdlib/math-base-special-abs": "^0.1.
|
|
59
|
-
"@stdlib/math-base-special-floor": "^0.1.
|
|
57
|
+
"@stdlib/math-base-special-abs": "^0.1.1",
|
|
58
|
+
"@stdlib/math-base-special-floor": "^0.1.1",
|
|
60
59
|
"@stdlib/math-base-special-pow": "^0.1.0",
|
|
61
60
|
"@stdlib/math-base-special-round": "^0.1.1",
|
|
62
61
|
"@stdlib/random-base-randu": "^0.1.0",
|
|
63
62
|
"proxyquire": "^2.0.0",
|
|
64
63
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
65
64
|
"istanbul": "^0.4.1",
|
|
66
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
65
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
66
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
67
|
+
"@stdlib/bench": "^0.3.1"
|
|
67
68
|
},
|
|
68
69
|
"engines": {
|
|
69
70
|
"node": ">=0.10.0",
|
package/CITATION.cff
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
cff-version: 1.2.0
|
|
2
|
-
title: stdlib
|
|
3
|
-
message: >-
|
|
4
|
-
If you use this software, please cite it using the
|
|
5
|
-
metadata from this file.
|
|
6
|
-
|
|
7
|
-
type: software
|
|
8
|
-
|
|
9
|
-
authors:
|
|
10
|
-
- name: The Stdlib Authors
|
|
11
|
-
url: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
12
|
-
|
|
13
|
-
repository-code: https://github.com/stdlib-js/stdlib
|
|
14
|
-
url: https://stdlib.io
|
|
15
|
-
|
|
16
|
-
abstract: |
|
|
17
|
-
Standard library for JavaScript and Node.js.
|
|
18
|
-
|
|
19
|
-
keywords:
|
|
20
|
-
- JavaScript
|
|
21
|
-
- Node.js
|
|
22
|
-
- TypeScript
|
|
23
|
-
- standard library
|
|
24
|
-
- scientific computing
|
|
25
|
-
- numerical computing
|
|
26
|
-
- statistical computing
|
|
27
|
-
|
|
28
|
-
license: Apache-2.0 AND BSL-1.0
|
|
29
|
-
|
|
30
|
-
date-released: 2016
|