@stdlib/stats-base-snanstdevyc 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -285,7 +285,7 @@ See [LICENSE][stdlib-license].
285
285
 
286
286
  ## Copyright
287
287
 
288
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
288
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
289
289
 
290
290
  </section>
291
291
 
@@ -298,8 +298,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
298
298
  [npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-snanstdevyc.svg
299
299
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-snanstdevyc
300
300
 
301
- [test-image]: https://github.com/stdlib-js/stats-base-snanstdevyc/actions/workflows/test.yml/badge.svg?branch=v0.1.1
302
- [test-url]: https://github.com/stdlib-js/stats-base-snanstdevyc/actions/workflows/test.yml?query=branch:v0.1.1
301
+ [test-image]: https://github.com/stdlib-js/stats-base-snanstdevyc/actions/workflows/test.yml/badge.svg?branch=v0.2.0
302
+ [test-url]: https://github.com/stdlib-js/stats-base-snanstdevyc/actions/workflows/test.yml?query=branch:v0.2.0
303
303
 
304
304
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-snanstdevyc/main.svg
305
305
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-snanstdevyc?branch=main
@@ -322,8 +322,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
322
322
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
323
323
 
324
324
  [deno-url]: https://github.com/stdlib-js/stats-base-snanstdevyc/tree/deno
325
+ [deno-readme]: https://github.com/stdlib-js/stats-base-snanstdevyc/blob/deno/README.md
325
326
  [umd-url]: https://github.com/stdlib-js/stats-base-snanstdevyc/tree/umd
327
+ [umd-readme]: https://github.com/stdlib-js/stats-base-snanstdevyc/blob/umd/README.md
326
328
  [esm-url]: https://github.com/stdlib-js/stats-base-snanstdevyc/tree/esm
329
+ [esm-readme]: https://github.com/stdlib-js/stats-base-snanstdevyc/blob/esm/README.md
327
330
  [branches-url]: https://github.com/stdlib-js/stats-base-snanstdevyc/blob/main/branches.md
328
331
 
329
332
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-snanstdevyc/main/LICENSE
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
@@ -32,7 +32,7 @@ interface Routine {
32
32
  * @returns standard deviation
33
33
  *
34
34
  * @example
35
- * var Float32Array = require( `@stdlib/array/float32` );
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( `@stdlib/array/float32` );
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 = snanstdevyc.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; // tslint:disable-line:max-line-length
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( `@stdlib/array/float32` );
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( `@stdlib/array/float32` );
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-snanstdevyc",
3
- "version": "0.1.1",
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 one-pass algorithm proposed by Youngs and Cramer.",
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.1.1",
45
- "@stdlib/math-base-special-sqrt": "^0.1.1",
46
- "@stdlib/number-float64-base-to-float32": "^0.1.1",
47
- "@stdlib/stats-base-snanvarianceyc": "^0.1.1",
48
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.1",
49
- "@stdlib/utils-library-manifest": "^0.1.1",
50
- "@stdlib/utils-try-require": "^0.1.1"
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-snanvarianceyc": "^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.0",
53
+ "@stdlib/array-float32": "^0.1.1",
54
54
  "@stdlib/assert-is-browser": "^0.1.1",
55
- "@stdlib/bench": "^0.1.0",
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.0",
59
- "@stdlib/math-base-special-floor": "^0.1.0",
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