@stdlib/math-special 0.1.0 → 0.2.1
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 -11
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +5 -6
- package/package.json +6 -46
- 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
|
@@ -66,24 +66,18 @@ var o = ns;
|
|
|
66
66
|
|
|
67
67
|
<!-- <toc pattern="+(*log*|ln|exp*|*pow*)" ignore="logit" > -->
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
69
|
<!-- </toc> -->
|
|
72
70
|
|
|
73
71
|
### Trigonometric Functions
|
|
74
72
|
|
|
75
73
|
<!-- <toc pattern="*+(sin|cos|tan)*" ignore="+(kernel-sin|kernel-cos|kernel-tan)"> -->
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
|
|
79
75
|
<!-- </toc> -->
|
|
80
76
|
|
|
81
77
|
### Bessel Functions
|
|
82
78
|
|
|
83
79
|
<!-- <toc pattern="*bessel*" > -->
|
|
84
80
|
|
|
85
|
-
|
|
86
|
-
|
|
87
81
|
<!-- </toc> -->
|
|
88
82
|
|
|
89
83
|
### Absolute Value and Rounding Functions
|
|
@@ -102,8 +96,6 @@ var o = ns;
|
|
|
102
96
|
|
|
103
97
|
<!-- <toc ignore="*bessel*" ignore="*+(sin|cos|tan)*" ignore="+(*log*|ln|exp*|*pow*)" ignore="*+(abs|ceil|floor|clamp|trunc|round|signum)*" ignore="+(gamma-delta-ratio|gamma-lanczos-sum*|rempio2|kernel-*)" > -->
|
|
104
98
|
|
|
105
|
-
|
|
106
|
-
|
|
107
99
|
<!-- </toc> -->
|
|
108
100
|
|
|
109
101
|
</section>
|
|
@@ -163,7 +155,7 @@ See [LICENSE][stdlib-license].
|
|
|
163
155
|
|
|
164
156
|
## Copyright
|
|
165
157
|
|
|
166
|
-
Copyright © 2016-
|
|
158
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
167
159
|
|
|
168
160
|
</section>
|
|
169
161
|
|
|
@@ -176,8 +168,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
176
168
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-special.svg
|
|
177
169
|
[npm-url]: https://npmjs.org/package/@stdlib/math-special
|
|
178
170
|
|
|
179
|
-
[test-image]: https://github.com/stdlib-js/math-special/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
180
|
-
[test-url]: https://github.com/stdlib-js/math-special/actions/workflows/test.yml?query=branch:v0.1
|
|
171
|
+
[test-image]: https://github.com/stdlib-js/math-special/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
172
|
+
[test-url]: https://github.com/stdlib-js/math-special/actions/workflows/test.yml?query=branch:v0.2.1
|
|
181
173
|
|
|
182
174
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-special/main.svg
|
|
183
175
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-special?branch=main
|
|
@@ -200,8 +192,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
200
192
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
201
193
|
|
|
202
194
|
[deno-url]: https://github.com/stdlib-js/math-special/tree/deno
|
|
195
|
+
[deno-readme]: https://github.com/stdlib-js/math-special/blob/deno/README.md
|
|
203
196
|
[umd-url]: https://github.com/stdlib-js/math-special/tree/umd
|
|
197
|
+
[umd-readme]: https://github.com/stdlib-js/math-special/blob/umd/README.md
|
|
204
198
|
[esm-url]: https://github.com/stdlib-js/math-special/tree/esm
|
|
199
|
+
[esm-readme]: https://github.com/stdlib-js/math-special/blob/esm/README.md
|
|
205
200
|
[branches-url]: https://github.com/stdlib-js/math-special/blob/main/branches.md
|
|
206
201
|
|
|
207
202
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-special/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
// TypeScript Version: 4.1
|
|
20
20
|
|
|
21
|
-
/*
|
|
22
|
-
/* tslint:disable:max-file-line-count */
|
|
21
|
+
/* eslint-disable max-lines */
|
|
23
22
|
|
|
24
23
|
import abs = require( '@stdlib/math-special-abs' );
|
|
25
24
|
|
|
@@ -39,7 +38,7 @@ interface Namespace {
|
|
|
39
38
|
* // returns 1.0
|
|
40
39
|
*
|
|
41
40
|
* @example
|
|
42
|
-
* var array = require(
|
|
41
|
+
* var array = require( '@stdlib/ndarray-array' );
|
|
43
42
|
*
|
|
44
43
|
* var x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );
|
|
45
44
|
*
|
|
@@ -50,7 +49,7 @@ interface Namespace {
|
|
|
50
49
|
* // returns 2.0
|
|
51
50
|
*
|
|
52
51
|
* @example
|
|
53
|
-
* var Float64Array = require(
|
|
52
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
54
53
|
*
|
|
55
54
|
* var x = new Float64Array( [ -1.0, -2.0 ] );
|
|
56
55
|
*
|
|
@@ -64,7 +63,7 @@ interface Namespace {
|
|
|
64
63
|
* // returns [ 1.0, 2.0 ]
|
|
65
64
|
*
|
|
66
65
|
* @example
|
|
67
|
-
* var array = require(
|
|
66
|
+
* var array = require( '@stdlib/ndarray-array' );
|
|
68
67
|
*
|
|
69
68
|
* var x = array( [ [ -1.0, -2.0 ], [ -3.0, -4.0 ] ] );
|
|
70
69
|
* var y = array( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] );
|
|
@@ -79,7 +78,7 @@ interface Namespace {
|
|
|
79
78
|
* // returns 2.0
|
|
80
79
|
*
|
|
81
80
|
* @example
|
|
82
|
-
* var Float64Array = require(
|
|
81
|
+
* var Float64Array = require( '@stdlib/array-float64' );
|
|
83
82
|
*
|
|
84
83
|
* var x = new Float64Array( [ -1.0, -2.0 ] );
|
|
85
84
|
* var y = new Float64Array( x.length );
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-special",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Special math functions.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -16,17 +16,11 @@
|
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
18
|
"doc": "./docs",
|
|
19
|
-
"example": "./examples",
|
|
20
19
|
"lib": "./lib",
|
|
21
|
-
"
|
|
20
|
+
"dist": "./dist"
|
|
22
21
|
},
|
|
23
22
|
"types": "./docs/types",
|
|
24
|
-
"scripts": {
|
|
25
|
-
"test": "make test",
|
|
26
|
-
"test-cov": "make test-cov",
|
|
27
|
-
"examples": "make examples",
|
|
28
|
-
"benchmark": "make benchmark"
|
|
29
|
-
},
|
|
23
|
+
"scripts": {},
|
|
30
24
|
"homepage": "https://stdlib.io",
|
|
31
25
|
"repository": {
|
|
32
26
|
"type": "git",
|
|
@@ -36,44 +30,10 @@
|
|
|
36
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
37
31
|
},
|
|
38
32
|
"dependencies": {
|
|
39
|
-
"@stdlib/math-special-abs": "^0.
|
|
40
|
-
"@stdlib/utils-define-read-only-property": "^0.1
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@stdlib/array-float32": "^0.1.0",
|
|
44
|
-
"@stdlib/array-float64": "^0.1.0",
|
|
45
|
-
"@stdlib/assert-has-property": "^0.1.0",
|
|
46
|
-
"@stdlib/assert-is-browser": "^0.1.0",
|
|
47
|
-
"@stdlib/assert-is-typed-array-like": "^0.1.0",
|
|
48
|
-
"@stdlib/bench": "^0.1.0",
|
|
49
|
-
"@stdlib/fs-write-file": "^0.1.0",
|
|
50
|
-
"@stdlib/math-base-assert-is-nan": "^0.1.0",
|
|
51
|
-
"@stdlib/math-base-special-abs": "^0.1.0",
|
|
52
|
-
"@stdlib/math-base-special-absf": "^0.1.0",
|
|
53
|
-
"@stdlib/math-base-special-identity": "^0.1.0",
|
|
54
|
-
"@stdlib/math-base-special-labs": "^0.1.0",
|
|
55
|
-
"@stdlib/math-base-special-pow": "^0.1.0",
|
|
56
|
-
"@stdlib/math-strided-special-abs": "^0.1.0",
|
|
57
|
-
"@stdlib/math-tools-unary": "^0.1.0",
|
|
58
|
-
"@stdlib/ndarray-array": "^0.0.9",
|
|
59
|
-
"@stdlib/ndarray-base-ctor": "^0.1.0",
|
|
60
|
-
"@stdlib/ndarray-base-dtypes2signatures": "^0.1.0",
|
|
61
|
-
"@stdlib/ndarray-base-meta-data-props": "^0.1.0",
|
|
62
|
-
"@stdlib/ndarray-base-serialize-meta-data": "^0.1.0",
|
|
63
|
-
"@stdlib/ndarray-base-shape2strides": "^0.1.0",
|
|
64
|
-
"@stdlib/ndarray-base-unary": "^0.1.0",
|
|
65
|
-
"@stdlib/ndarray-ctor": "^0.1.0",
|
|
66
|
-
"@stdlib/ndarray-dispatch": "^0.1.0",
|
|
67
|
-
"@stdlib/ndarray-dtypes": "^0.1.0",
|
|
68
|
-
"@stdlib/ndarray-ind2sub": "^0.1.0",
|
|
69
|
-
"@stdlib/random-base-uniform": "^0.0.6",
|
|
70
|
-
"@stdlib/utils-keys": "^0.1.0",
|
|
71
|
-
"@stdlib/utils-try-require": "^0.1.0",
|
|
72
|
-
"proxyquire": "^2.0.0",
|
|
73
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
74
|
-
"istanbul": "^0.4.1",
|
|
75
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
33
|
+
"@stdlib/math-special-abs": "^0.2.1",
|
|
34
|
+
"@stdlib/utils-define-read-only-property": "^0.2.1"
|
|
76
35
|
},
|
|
36
|
+
"devDependencies": {},
|
|
77
37
|
"engines": {
|
|
78
38
|
"node": ">=0.10.0",
|
|
79
39
|
"npm": ">2.7.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
|