@stdlib/math-tools 0.1.0 → 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
@@ -131,7 +131,7 @@ See [LICENSE][stdlib-license].
131
131
 
132
132
  ## Copyright
133
133
 
134
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
134
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
135
135
 
136
136
  </section>
137
137
 
@@ -144,8 +144,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
144
144
  [npm-image]: http://img.shields.io/npm/v/@stdlib/math-tools.svg
145
145
  [npm-url]: https://npmjs.org/package/@stdlib/math-tools
146
146
 
147
- [test-image]: https://github.com/stdlib-js/math-tools/actions/workflows/test.yml/badge.svg?branch=v0.1.0
148
- [test-url]: https://github.com/stdlib-js/math-tools/actions/workflows/test.yml?query=branch:v0.1.0
147
+ [test-image]: https://github.com/stdlib-js/math-tools/actions/workflows/test.yml/badge.svg?branch=v0.2.0
148
+ [test-url]: https://github.com/stdlib-js/math-tools/actions/workflows/test.yml?query=branch:v0.2.0
149
149
 
150
150
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-tools/main.svg
151
151
  [coverage-url]: https://codecov.io/github/stdlib-js/math-tools?branch=main
@@ -168,8 +168,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
168
168
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
169
169
 
170
170
  [deno-url]: https://github.com/stdlib-js/math-tools/tree/deno
171
+ [deno-readme]: https://github.com/stdlib-js/math-tools/blob/deno/README.md
171
172
  [umd-url]: https://github.com/stdlib-js/math-tools/tree/umd
173
+ [umd-readme]: https://github.com/stdlib-js/math-tools/blob/umd/README.md
172
174
  [esm-url]: https://github.com/stdlib-js/math-tools/tree/esm
175
+ [esm-readme]: https://github.com/stdlib-js/math-tools/blob/esm/README.md
173
176
  [branches-url]: https://github.com/stdlib-js/math-tools/blob/main/branches.md
174
177
 
175
178
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-tools/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).
@@ -18,8 +18,7 @@
18
18
 
19
19
  // TypeScript Version: 4.1
20
20
 
21
- /* tslint:disable:max-line-length */
22
- /* tslint:disable:max-file-line-count */
21
+ /* eslint-disable max-lines */
23
22
 
24
23
  import unary = require( '@stdlib/math-tools-unary' );
25
24
 
@@ -37,11 +36,11 @@ interface Namespace {
37
36
  * @returns dispatch function
38
37
  *
39
38
  * @example
40
- * var nabs = require( `@stdlib/math/base/special/abs` );
41
- * var dabs = require( `@stdlib/math/strided/special/dabs` );
42
- * var sabs = require( `@stdlib/math/strided/special/sabs` );
43
- * var gabs = require( `@stdlib/math/strided/special/abs` );
44
- * var Float64Array = require( `@stdlib/array/float64` );
39
+ * var nabs = require( '@stdlib/math-base-special-abs' );
40
+ * var dabs = require( '@stdlib/math-strided-special-dabs' );
41
+ * var sabs = require( '@stdlib/math-strided-special-sabs' );
42
+ * var gabs = require( '@stdlib/math-strided-special-abs' );
43
+ * var Float64Array = require( '@stdlib/array-float64' );
45
44
  *
46
45
  * var table = {
47
46
  * 'scalar': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-tools",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Math tools.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -36,46 +36,47 @@
36
36
  "url": "https://github.com/stdlib-js/stdlib/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@stdlib/math-tools-unary": "^0.1.0",
40
- "@stdlib/utils-define-read-only-property": "^0.1.0"
39
+ "@stdlib/math-tools-unary": "^0.2.0",
40
+ "@stdlib/utils-define-read-only-property": "^0.2.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@stdlib/array-base-copy-indexed": "^0.1.0",
44
- "@stdlib/array-float32": "^0.1.0",
45
- "@stdlib/array-float64": "^0.1.0",
46
- "@stdlib/assert-contains": "^0.1.0",
47
- "@stdlib/assert-has-own-property": "^0.1.0",
48
- "@stdlib/assert-is-collection": "^0.1.0",
49
- "@stdlib/assert-is-complex-like": "^0.1.0",
50
- "@stdlib/assert-is-function": "^0.1.0",
51
- "@stdlib/assert-is-ndarray-like": "^0.1.0",
52
- "@stdlib/assert-is-null": "^0.1.0",
53
- "@stdlib/assert-is-number": "^0.1.0",
54
- "@stdlib/assert-is-plain-object": "^0.1.0",
55
- "@stdlib/bench": "^0.1.0",
56
- "@stdlib/math-base-assert-is-nan": "^0.1.0",
57
- "@stdlib/math-base-special-abs": "^0.1.0",
58
- "@stdlib/math-base-special-pow": "^0.1.0",
59
- "@stdlib/math-strided-special-abs": "^0.1.0",
60
- "@stdlib/ndarray-array": "^0.0.9",
61
- "@stdlib/ndarray-base-broadcast-array": "^0.1.0",
62
- "@stdlib/ndarray-base-buffer": "^0.1.0",
63
- "@stdlib/ndarray-base-buffer-dtype": "^0.1.0",
64
- "@stdlib/ndarray-base-numel": "^0.1.0",
65
- "@stdlib/ndarray-base-shape2strides": "^0.1.0",
43
+ "@stdlib/array-base-copy-indexed": "^0.2.0",
44
+ "@stdlib/array-float32": "^0.2.0",
45
+ "@stdlib/array-float64": "^0.2.0",
46
+ "@stdlib/assert-contains": "^0.2.0",
47
+ "@stdlib/assert-has-own-property": "^0.2.0",
48
+ "@stdlib/assert-is-collection": "^0.2.0",
49
+ "@stdlib/assert-is-complex-like": "^0.2.0",
50
+ "@stdlib/assert-is-function": "^0.2.0",
51
+ "@stdlib/assert-is-ndarray-like": "^0.2.0",
52
+ "@stdlib/assert-is-null": "^0.2.0",
53
+ "@stdlib/assert-is-number": "^0.2.0",
54
+ "@stdlib/assert-is-plain-object": "^0.2.0",
55
+ "@stdlib/math-base-assert-is-nan": "^0.2.0",
56
+ "@stdlib/math-base-special-abs": "^0.2.0",
57
+ "@stdlib/math-base-special-pow": "^0.2.0",
58
+ "@stdlib/math-strided-special-abs": "^0.2.0",
59
+ "@stdlib/ndarray-array": "^0.1.0",
60
+ "@stdlib/ndarray-base-broadcast-array": "^0.2.0",
61
+ "@stdlib/ndarray-base-buffer": "^0.2.0",
62
+ "@stdlib/ndarray-base-buffer-dtype": "^0.2.0",
63
+ "@stdlib/ndarray-base-numel": "^0.2.0",
64
+ "@stdlib/ndarray-base-shape2strides": "^0.2.0",
66
65
  "@stdlib/ndarray-base-unary": "^0.1.0",
67
66
  "@stdlib/ndarray-ctor": "^0.1.0",
68
- "@stdlib/ndarray-dispatch": "^0.1.0",
69
- "@stdlib/ndarray-dtypes": "^0.1.0",
70
- "@stdlib/ndarray-ind2sub": "^0.1.0",
71
- "@stdlib/ndarray-orders": "^0.1.0",
72
- "@stdlib/random-base-uniform": "^0.0.6",
73
- "@stdlib/string-format": "^0.1.0",
74
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
75
- "@stdlib/utils-keys": "^0.1.0",
67
+ "@stdlib/ndarray-dispatch": "^0.2.0",
68
+ "@stdlib/ndarray-dtypes": "^0.2.0",
69
+ "@stdlib/ndarray-ind2sub": "^0.1.1",
70
+ "@stdlib/ndarray-orders": "^0.2.0",
71
+ "@stdlib/random-base-uniform": "^0.1.0",
72
+ "@stdlib/string-format": "^0.2.0",
73
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
74
+ "@stdlib/utils-keys": "^0.2.0",
76
75
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
77
76
  "istanbul": "^0.4.1",
78
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
77
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
78
+ "@stdlib/bench-harness": "^0.2.0",
79
+ "@stdlib/bench": "^0.3.1"
79
80
  },
80
81
  "engines": {
81
82
  "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