@stdlib/math-special-abs 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 +1 -1
- package/README.md +6 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +8 -8
- package/package.json +34 -33
- 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
|
@@ -256,7 +256,7 @@ See [LICENSE][stdlib-license].
|
|
|
256
256
|
|
|
257
257
|
## Copyright
|
|
258
258
|
|
|
259
|
-
Copyright © 2016-
|
|
259
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
260
260
|
|
|
261
261
|
</section>
|
|
262
262
|
|
|
@@ -269,8 +269,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
269
269
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-special-abs.svg
|
|
270
270
|
[npm-url]: https://npmjs.org/package/@stdlib/math-special-abs
|
|
271
271
|
|
|
272
|
-
[test-image]: https://github.com/stdlib-js/math-special-abs/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
273
|
-
[test-url]: https://github.com/stdlib-js/math-special-abs/actions/workflows/test.yml?query=branch:v0.
|
|
272
|
+
[test-image]: https://github.com/stdlib-js/math-special-abs/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
273
|
+
[test-url]: https://github.com/stdlib-js/math-special-abs/actions/workflows/test.yml?query=branch:v0.2.0
|
|
274
274
|
|
|
275
275
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-special-abs/main.svg
|
|
276
276
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-special-abs?branch=main
|
|
@@ -293,8 +293,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
293
293
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
294
294
|
|
|
295
295
|
[deno-url]: https://github.com/stdlib-js/math-special-abs/tree/deno
|
|
296
|
+
[deno-readme]: https://github.com/stdlib-js/math-special-abs/blob/deno/README.md
|
|
296
297
|
[umd-url]: https://github.com/stdlib-js/math-special-abs/tree/umd
|
|
298
|
+
[umd-readme]: https://github.com/stdlib-js/math-special-abs/blob/umd/README.md
|
|
297
299
|
[esm-url]: https://github.com/stdlib-js/math-special-abs/tree/esm
|
|
300
|
+
[esm-readme]: https://github.com/stdlib-js/math-special-abs/blob/esm/README.md
|
|
298
301
|
[branches-url]: https://github.com/stdlib-js/math-special-abs/blob/main/branches.md
|
|
299
302
|
|
|
300
303
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-special-abs/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ interface UnaryFunction {
|
|
|
70
70
|
* @returns result
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
|
-
* var array = require(
|
|
73
|
+
* var array = require( '@stdlib/ndarray-array' );
|
|
74
74
|
*
|
|
75
75
|
* var x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );
|
|
76
76
|
*
|
|
@@ -89,7 +89,7 @@ interface UnaryFunction {
|
|
|
89
89
|
* @returns result
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
|
-
* var Float64Array = require(
|
|
92
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
93
93
|
*
|
|
94
94
|
* var x = new Float64Array( [ -1.0, -2.0 ] );
|
|
95
95
|
*
|
|
@@ -112,7 +112,7 @@ interface UnaryFunction {
|
|
|
112
112
|
* @returns output array
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
|
-
* var array = require(
|
|
115
|
+
* var array = require( '@stdlib/ndarray-array' );
|
|
116
116
|
*
|
|
117
117
|
* var x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );
|
|
118
118
|
* var y = array( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] );
|
|
@@ -136,7 +136,7 @@ interface UnaryFunction {
|
|
|
136
136
|
* @returns output array
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
|
-
* var Float64Array = require(
|
|
139
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
140
140
|
*
|
|
141
141
|
* var x = new Float64Array( [ -1.0, -2.0 ] );
|
|
142
142
|
* var y = new Float64Array( x.length );
|
|
@@ -162,7 +162,7 @@ interface UnaryFunction {
|
|
|
162
162
|
* // returns 1.0
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
|
-
* var array = require(
|
|
165
|
+
* var array = require( '@stdlib/ndarray-array' );
|
|
166
166
|
*
|
|
167
167
|
* var x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );
|
|
168
168
|
*
|
|
@@ -173,7 +173,7 @@ interface UnaryFunction {
|
|
|
173
173
|
* // returns 2.0
|
|
174
174
|
*
|
|
175
175
|
* @example
|
|
176
|
-
* var Float64Array = require(
|
|
176
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
177
177
|
*
|
|
178
178
|
* var x = new Float64Array( [ -1.0, -2.0 ] );
|
|
179
179
|
*
|
|
@@ -187,7 +187,7 @@ interface UnaryFunction {
|
|
|
187
187
|
* // returns [ 1.0, 2.0 ]
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
|
-
* var array = require(
|
|
190
|
+
* var array = require( '@stdlib/ndarray-array' );
|
|
191
191
|
*
|
|
192
192
|
* var x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );
|
|
193
193
|
* var y = array( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] );
|
|
@@ -202,7 +202,7 @@ interface UnaryFunction {
|
|
|
202
202
|
* // returns 2.0
|
|
203
203
|
*
|
|
204
204
|
* @example
|
|
205
|
-
* var Float64Array = require(
|
|
205
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
206
206
|
*
|
|
207
207
|
* var x = new Float64Array( [ -1.0, -2.0 ] );
|
|
208
208
|
* var y = new Float64Array( x.length );
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-special-abs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Compute the absolute value.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -41,44 +41,45 @@
|
|
|
41
41
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@stdlib/math-base-special-abs": "^0.
|
|
45
|
-
"@stdlib/math-base-special-absf": "^0.
|
|
46
|
-
"@stdlib/math-base-special-identity": "^0.
|
|
47
|
-
"@stdlib/math-base-special-labs": "^0.
|
|
48
|
-
"@stdlib/math-strided-special-abs": "^0.
|
|
49
|
-
"@stdlib/math-tools-unary": "^0.
|
|
50
|
-
"@stdlib/ndarray-base-function-object": "^0.
|
|
51
|
-
"@stdlib/ndarray-base-meta-data-props": "^0.
|
|
52
|
-
"@stdlib/ndarray-base-napi-unary": "^0.
|
|
53
|
-
"@stdlib/ndarray-base-unary": "^0.
|
|
54
|
-
"@stdlib/ndarray-dispatch": "^0.
|
|
55
|
-
"@stdlib/ndarray-dtypes": "^0.
|
|
56
|
-
"@stdlib/types": "^0.1
|
|
57
|
-
"@stdlib/utils-library-manifest": "^0.
|
|
58
|
-
"@stdlib/utils-try-require": "^0.
|
|
44
|
+
"@stdlib/math-base-special-abs": "^0.2.0",
|
|
45
|
+
"@stdlib/math-base-special-absf": "^0.2.0",
|
|
46
|
+
"@stdlib/math-base-special-identity": "^0.2.0",
|
|
47
|
+
"@stdlib/math-base-special-labs": "^0.2.0",
|
|
48
|
+
"@stdlib/math-strided-special-abs": "^0.2.0",
|
|
49
|
+
"@stdlib/math-tools-unary": "^0.2.0",
|
|
50
|
+
"@stdlib/ndarray-base-function-object": "^0.2.0",
|
|
51
|
+
"@stdlib/ndarray-base-meta-data-props": "^0.2.0",
|
|
52
|
+
"@stdlib/ndarray-base-napi-unary": "^0.2.0",
|
|
53
|
+
"@stdlib/ndarray-base-unary": "^0.2.0",
|
|
54
|
+
"@stdlib/ndarray-dispatch": "^0.2.0",
|
|
55
|
+
"@stdlib/ndarray-dtypes": "^0.2.0",
|
|
56
|
+
"@stdlib/types": "^0.3.1",
|
|
57
|
+
"@stdlib/utils-library-manifest": "^0.2.0",
|
|
58
|
+
"@stdlib/utils-try-require": "^0.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@stdlib/array-float32": "^0.
|
|
62
|
-
"@stdlib/array-float64": "^0.
|
|
63
|
-
"@stdlib/assert-has-property": "^0.
|
|
64
|
-
"@stdlib/assert-is-browser": "^0.
|
|
65
|
-
"@stdlib/assert-is-typed-array-like": "^0.
|
|
66
|
-
"@stdlib/
|
|
67
|
-
"@stdlib/
|
|
68
|
-
"@stdlib/math-base-
|
|
69
|
-
"@stdlib/
|
|
70
|
-
"@stdlib/ndarray-
|
|
71
|
-
"@stdlib/ndarray-base-
|
|
72
|
-
"@stdlib/ndarray-base-
|
|
73
|
-
"@stdlib/ndarray-base-
|
|
74
|
-
"@stdlib/ndarray-base-shape2strides": "^0.1.0",
|
|
61
|
+
"@stdlib/array-float32": "^0.2.0",
|
|
62
|
+
"@stdlib/array-float64": "^0.2.0",
|
|
63
|
+
"@stdlib/assert-has-property": "^0.2.0",
|
|
64
|
+
"@stdlib/assert-is-browser": "^0.2.0",
|
|
65
|
+
"@stdlib/assert-is-typed-array-like": "^0.2.0",
|
|
66
|
+
"@stdlib/fs-write-file": "^0.2.0",
|
|
67
|
+
"@stdlib/math-base-assert-is-nan": "^0.2.0",
|
|
68
|
+
"@stdlib/math-base-special-pow": "^0.2.0",
|
|
69
|
+
"@stdlib/ndarray-array": "^0.1.0",
|
|
70
|
+
"@stdlib/ndarray-base-ctor": "^0.2.0",
|
|
71
|
+
"@stdlib/ndarray-base-dtypes2signatures": "^0.2.0",
|
|
72
|
+
"@stdlib/ndarray-base-serialize-meta-data": "^0.2.0",
|
|
73
|
+
"@stdlib/ndarray-base-shape2strides": "^0.2.0",
|
|
75
74
|
"@stdlib/ndarray-ctor": "^0.1.0",
|
|
76
|
-
"@stdlib/ndarray-ind2sub": "^0.1.
|
|
77
|
-
"@stdlib/random-base-uniform": "^0.0
|
|
75
|
+
"@stdlib/ndarray-ind2sub": "^0.1.1",
|
|
76
|
+
"@stdlib/random-base-uniform": "^0.1.0",
|
|
78
77
|
"proxyquire": "^2.0.0",
|
|
79
78
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
80
79
|
"istanbul": "^0.4.1",
|
|
81
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
80
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
81
|
+
"@stdlib/bench-harness": "^0.2.0",
|
|
82
|
+
"@stdlib/bench": "^0.3.1"
|
|
82
83
|
},
|
|
83
84
|
"engines": {
|
|
84
85
|
"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
|