@stdlib/strided-base-binary-addon-dispatch 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/dist/index.js +2 -2
- package/package.json +23 -22
- 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
|
@@ -349,7 +349,7 @@ See [LICENSE][stdlib-license].
|
|
|
349
349
|
|
|
350
350
|
## Copyright
|
|
351
351
|
|
|
352
|
-
Copyright © 2016-
|
|
352
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
353
353
|
|
|
354
354
|
</section>
|
|
355
355
|
|
|
@@ -362,8 +362,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
362
362
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/strided-base-binary-addon-dispatch.svg
|
|
363
363
|
[npm-url]: https://npmjs.org/package/@stdlib/strided-base-binary-addon-dispatch
|
|
364
364
|
|
|
365
|
-
[test-image]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
366
|
-
[test-url]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/actions/workflows/test.yml?query=branch:v0.
|
|
365
|
+
[test-image]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
366
|
+
[test-url]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/actions/workflows/test.yml?query=branch:v0.2.0
|
|
367
367
|
|
|
368
368
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/strided-base-binary-addon-dispatch/main.svg
|
|
369
369
|
[coverage-url]: https://codecov.io/github/stdlib-js/strided-base-binary-addon-dispatch?branch=main
|
|
@@ -386,8 +386,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
386
386
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
387
387
|
|
|
388
388
|
[deno-url]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/tree/deno
|
|
389
|
+
[deno-readme]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/blob/deno/README.md
|
|
389
390
|
[umd-url]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/tree/umd
|
|
391
|
+
[umd-readme]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/blob/umd/README.md
|
|
390
392
|
[esm-url]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/tree/esm
|
|
393
|
+
[esm-readme]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/blob/esm/README.md
|
|
391
394
|
[branches-url]: https://github.com/stdlib-js/strided-base-binary-addon-dispatch/blob/main/branches.md
|
|
392
395
|
|
|
393
396
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/strided-base-binary-addon-dispatch/main/LICENSE
|
package/SECURITY.md
ADDED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";var j=function(m,u){return function(){return u||m((u={exports:{}}).exports,u),u.exports}};var J=j(function(X,H){
|
|
2
|
-
var D=require('@stdlib/assert-is-function/dist'),O=require('@stdlib/assert-is-typed-array-like/dist'),q=require('@stdlib/strided-base-dtype-resolve-enum/dist'),b=require('@stdlib/strided-base-reinterpret-complex64/dist'),p=require('@stdlib/strided-base-reinterpret-complex128/dist'),G=require('@stdlib/error-tools-fmtprodmsg/dist'),F=q("complex64"),P=q("complex128");function $(m,u){if(!D(m))throw new TypeError(G('1Md3c',m));if(!D(u))throw new TypeError(G('1Md2H',u));return L;function L(s,i,l,c,r,n,w,o,e,t){var v,g,a;if(!O(l)||!O(n)||!O(e))return u(s,i,l,c,r,n,w,o,e,t),e;if(i=q(i),r=q(r),o=q(o),i===null||r===null||o===null)throw new TypeError(
|
|
2
|
+
var D=require('@stdlib/assert-is-function/dist'),O=require('@stdlib/assert-is-typed-array-like/dist'),q=require('@stdlib/strided-base-dtype-resolve-enum/dist'),b=require('@stdlib/strided-base-reinterpret-complex64/dist'),p=require('@stdlib/strided-base-reinterpret-complex128/dist'),G=require('@stdlib/error-tools-fmtprodmsg/dist'),F=q("complex64"),P=q("complex128");function $(m,u){if(!D(m))throw new TypeError(G('1Md3c',m));if(!D(u))throw new TypeError(G('1Md2H',u));return L;function L(s,i,l,c,r,n,w,o,e,t){var v,g,a;if(!O(l)||!O(n)||!O(e))return u(s,i,l,c,r,n,w,o,e,t),e;if(i=q(i),r=q(r),o=q(o),i===null||r===null||o===null)throw new TypeError(h('1Md1L'));return i===F?v=b(l,0):i===P?v=p(l,0):v=l,r===F?g=b(n,0):r===P?g=p(n,0):g=n,o===F?a=b(e,0):o===P?a=p(e,0):a=e,m(s,i,v,c,r,g,w,o,a,t),e}}H.exports=$
|
|
3
3
|
});var W=j(function(y,Q){
|
|
4
|
-
var K=require('@stdlib/assert-is-function/dist'),x=require('@stdlib/assert-is-typed-array-like/dist'),M=require('@stdlib/assert-is-nonnegative-integer/dist').isPrimitive,E=require('@stdlib/strided-base-dtype-resolve-enum/dist'),S=require('@stdlib/strided-base-reinterpret-complex64/dist'),A=require('@stdlib/strided-base-reinterpret-complex128/dist'),I=require('@stdlib/strided-base-offset-view/dist'),U=require('@stdlib/strided-base-min-view-buffer-index/dist'),h=require('@stdlib/error-tools-fmtprodmsg/dist'),B=E("complex64"),R=E("complex128");function f(m,u){if(!K(m))throw new TypeError(h('1Md3c',m));if(!K(u))throw new TypeError(h('1Md2H',u));return L;function L(s,i,l,c,r,n,w,o,e,t,v,g,a){var T,V,C;if(!x(l)||!x(w)||!x(v))return u(s,i,l,c,r,n,w,o,e,t,v,g,a),v;if(i=E(i),n=E(n),t=E(t),i===null||n===null||t===null)throw new TypeError(
|
|
4
|
+
var K=require('@stdlib/assert-is-function/dist'),x=require('@stdlib/assert-is-typed-array-like/dist'),M=require('@stdlib/assert-is-nonnegative-integer/dist').isPrimitive,E=require('@stdlib/strided-base-dtype-resolve-enum/dist'),S=require('@stdlib/strided-base-reinterpret-complex64/dist'),A=require('@stdlib/strided-base-reinterpret-complex128/dist'),I=require('@stdlib/strided-base-offset-view/dist'),U=require('@stdlib/strided-base-min-view-buffer-index/dist'),h=require('@stdlib/error-tools-fmtprodmsg/dist'),B=E("complex64"),R=E("complex128");function f(m,u){if(!K(m))throw new TypeError(h('1Md3c',m));if(!K(u))throw new TypeError(h('1Md2H',u));return L;function L(s,i,l,c,r,n,w,o,e,t,v,g,a){var T,V,C;if(!x(l)||!x(w)||!x(v))return u(s,i,l,c,r,n,w,o,e,t,v,g,a),v;if(i=E(i),n=E(n),t=E(t),i===null||n===null||t===null)throw new TypeError(h('1Md1L'));if(!M(r))throw new TypeError(h('1MdAC',r));if(!M(e))throw new TypeError(h('1MdAD',e));if(!M(a))throw new TypeError(h('1MdAE',a));return r=U(s,c,r),e=U(s,o,e),a=U(s,g,a),i===B?T=S(l,r):i===R?T=A(l,r):T=I(l,r),n===B?V=S(w,e):n===R?V=A(w,e):V=I(w,e),t===B?C=S(v,a):t===R?C=A(v,a):C=I(v,a),m(s,i,T,c,n,V,o,t,C,g),v}}Q.exports=f
|
|
5
5
|
});var k=require('@stdlib/utils-define-nonenumerable-read-only-property/dist'),_=J(),N=W();k(_,"ndarray",N);module.exports=_;
|
|
6
6
|
/** @license Apache-2.0 */
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/strided-base-binary-addon-dispatch",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Dispatch to a native add-on applying a binary function to two input strided arrays.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,31 +37,32 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/assert-is-function": "^0.
|
|
41
|
-
"@stdlib/assert-is-nonnegative-integer": "^0.
|
|
42
|
-
"@stdlib/assert-is-typed-array-like": "^0.
|
|
43
|
-
"@stdlib/strided-base-dtype-resolve-enum": "^0.
|
|
44
|
-
"@stdlib/strided-base-min-view-buffer-index": "^0.
|
|
45
|
-
"@stdlib/strided-base-offset-view": "^0.
|
|
46
|
-
"@stdlib/strided-base-reinterpret-complex128": "^0.
|
|
47
|
-
"@stdlib/strided-base-reinterpret-complex64": "^0.
|
|
48
|
-
"@stdlib/string-format": "^0.
|
|
49
|
-
"@stdlib/types": "^0.1
|
|
50
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.
|
|
51
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.1.
|
|
40
|
+
"@stdlib/assert-is-function": "^0.2.0",
|
|
41
|
+
"@stdlib/assert-is-nonnegative-integer": "^0.2.0",
|
|
42
|
+
"@stdlib/assert-is-typed-array-like": "^0.2.0",
|
|
43
|
+
"@stdlib/strided-base-dtype-resolve-enum": "^0.2.0",
|
|
44
|
+
"@stdlib/strided-base-min-view-buffer-index": "^0.2.0",
|
|
45
|
+
"@stdlib/strided-base-offset-view": "^0.2.0",
|
|
46
|
+
"@stdlib/strided-base-reinterpret-complex128": "^0.2.0",
|
|
47
|
+
"@stdlib/strided-base-reinterpret-complex64": "^0.2.0",
|
|
48
|
+
"@stdlib/string-format": "^0.2.0",
|
|
49
|
+
"@stdlib/types": "^0.3.1",
|
|
50
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
|
|
51
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.1.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@stdlib/array-complex128": "^0.0
|
|
55
|
-
"@stdlib/array-complex64": "^0.0
|
|
56
|
-
"@stdlib/array-float64": "^0.1.
|
|
57
|
-
"@stdlib/assert-has-own-property": "^0.1.
|
|
58
|
-
"@stdlib/assert-is-float32array": "^0.1.
|
|
59
|
-
"@stdlib/assert-is-float64array": "^0.1.
|
|
60
|
-
"@stdlib/
|
|
61
|
-
"@stdlib/utils-noop": "^0.1.0",
|
|
54
|
+
"@stdlib/array-complex128": "^0.1.0",
|
|
55
|
+
"@stdlib/array-complex64": "^0.1.0",
|
|
56
|
+
"@stdlib/array-float64": "^0.1.1",
|
|
57
|
+
"@stdlib/assert-has-own-property": "^0.1.1",
|
|
58
|
+
"@stdlib/assert-is-float32array": "^0.1.1",
|
|
59
|
+
"@stdlib/assert-is-float64array": "^0.1.1",
|
|
60
|
+
"@stdlib/utils-noop": "^0.2.0",
|
|
62
61
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
63
62
|
"istanbul": "^0.4.1",
|
|
64
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
63
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
64
|
+
"@stdlib/bench-harness": "^0.2.0",
|
|
65
|
+
"@stdlib/bench": "^0.3.1"
|
|
65
66
|
},
|
|
66
67
|
"engines": {
|
|
67
68
|
"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
|