@stdlib/array-base-mskunary2d 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 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +3 -3
- package/package.json +5 -30
- 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
|
@@ -164,7 +164,7 @@ See [LICENSE][stdlib-license].
|
|
|
164
164
|
|
|
165
165
|
## Copyright
|
|
166
166
|
|
|
167
|
-
Copyright © 2016-
|
|
167
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
168
168
|
|
|
169
169
|
</section>
|
|
170
170
|
|
|
@@ -177,8 +177,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
177
177
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-mskunary2d.svg
|
|
178
178
|
[npm-url]: https://npmjs.org/package/@stdlib/array-base-mskunary2d
|
|
179
179
|
|
|
180
|
-
[test-image]: https://github.com/stdlib-js/array-base-mskunary2d/actions/workflows/test.yml/badge.svg?branch=v0.1
|
|
181
|
-
[test-url]: https://github.com/stdlib-js/array-base-mskunary2d/actions/workflows/test.yml?query=branch:v0.1
|
|
180
|
+
[test-image]: https://github.com/stdlib-js/array-base-mskunary2d/actions/workflows/test.yml/badge.svg?branch=v0.2.1
|
|
181
|
+
[test-url]: https://github.com/stdlib-js/array-base-mskunary2d/actions/workflows/test.yml?query=branch:v0.2.1
|
|
182
182
|
|
|
183
183
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-mskunary2d/main.svg
|
|
184
184
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-mskunary2d?branch=main
|
|
@@ -201,8 +201,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
201
201
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
202
202
|
|
|
203
203
|
[deno-url]: https://github.com/stdlib-js/array-base-mskunary2d/tree/deno
|
|
204
|
+
[deno-readme]: https://github.com/stdlib-js/array-base-mskunary2d/blob/deno/README.md
|
|
204
205
|
[umd-url]: https://github.com/stdlib-js/array-base-mskunary2d/tree/umd
|
|
206
|
+
[umd-readme]: https://github.com/stdlib-js/array-base-mskunary2d/blob/umd/README.md
|
|
205
207
|
[esm-url]: https://github.com/stdlib-js/array-base-mskunary2d/tree/esm
|
|
208
|
+
[esm-readme]: https://github.com/stdlib-js/array-base-mskunary2d/blob/esm/README.md
|
|
206
209
|
[branches-url]: https://github.com/stdlib-js/array-base-mskunary2d/blob/main/branches.md
|
|
207
210
|
|
|
208
211
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/array-base-mskunary2d/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { Shape2D } from '@stdlib/types/ndarray';
|
|
|
26
26
|
/**
|
|
27
27
|
* Unary callback.
|
|
28
28
|
*
|
|
29
|
-
* @param value -
|
|
29
|
+
* @param value - array element
|
|
30
30
|
* @returns result
|
|
31
31
|
*/
|
|
32
32
|
type Unary<T, U> = ( value: T ) => U;
|
|
@@ -44,8 +44,8 @@ type Unary<T, U> = ( value: T ) => U;
|
|
|
44
44
|
* @param fcn - unary callback
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
|
-
* var ones2d = require(
|
|
48
|
-
* var zeros2d = require(
|
|
47
|
+
* var ones2d = require( '@stdlib/array-base-ones2d' );
|
|
48
|
+
* var zeros2d = require( '@stdlib/array-base-zeros2d' );
|
|
49
49
|
*
|
|
50
50
|
* function scale( x ) {
|
|
51
51
|
* return x * 10.0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-base-mskunary2d",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Apply a unary callback to elements in a two-dimensional nested input array according to elements in a two-dimensional nested mask array and assign results to elements in a two-dimensional nested output array.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,19 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
-
"benchmark": "./benchmark",
|
|
19
18
|
"doc": "./docs",
|
|
20
|
-
"example": "./examples",
|
|
21
19
|
"lib": "./lib",
|
|
22
|
-
"
|
|
20
|
+
"dist": "./dist"
|
|
23
21
|
},
|
|
24
22
|
"types": "./docs/types",
|
|
25
|
-
"scripts": {
|
|
26
|
-
"test": "make test",
|
|
27
|
-
"test-cov": "make test-cov",
|
|
28
|
-
"examples": "make examples",
|
|
29
|
-
"benchmark": "make benchmark"
|
|
30
|
-
},
|
|
23
|
+
"scripts": {},
|
|
31
24
|
"homepage": "https://stdlib.io",
|
|
32
25
|
"repository": {
|
|
33
26
|
"type": "git",
|
|
@@ -36,26 +29,8 @@
|
|
|
36
29
|
"bugs": {
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@stdlib/array-base-filled2d-by": "^0.0.1",
|
|
44
|
-
"@stdlib/array-base-zeros2d": "github:stdlib-js/array-base-zeros2d#main",
|
|
45
|
-
"@stdlib/bench": "^0.1.0",
|
|
46
|
-
"@stdlib/math-base-assert-is-nan": "^0.1.0",
|
|
47
|
-
"@stdlib/math-base-special-abs": "^0.1.0",
|
|
48
|
-
"@stdlib/math-base-special-floor": "^0.1.0",
|
|
49
|
-
"@stdlib/math-base-special-identity": "^0.1.0",
|
|
50
|
-
"@stdlib/math-base-special-pow": "^0.1.0",
|
|
51
|
-
"@stdlib/ndarray-base-numel": "^0.1.0",
|
|
52
|
-
"@stdlib/random-base-bernoulli": "^0.0.6",
|
|
53
|
-
"@stdlib/random-base-discrete-uniform": "^0.0.6",
|
|
54
|
-
"@stdlib/random-base-uniform": "^0.0.6",
|
|
55
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
56
|
-
"istanbul": "^0.4.1",
|
|
57
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
58
|
-
},
|
|
32
|
+
"dependencies": {},
|
|
33
|
+
"devDependencies": {},
|
|
59
34
|
"engines": {
|
|
60
35
|
"node": ">=0.10.0",
|
|
61
36
|
"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
|