@stdlib/utils-map4d 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 +27 -3
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +2 -2
- package/package.json +17 -16
- 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
|
@@ -189,6 +189,15 @@ console.log( JSON.stringify( y, null, ' ' ) );
|
|
|
189
189
|
|
|
190
190
|
<section class="related">
|
|
191
191
|
|
|
192
|
+
* * *
|
|
193
|
+
|
|
194
|
+
## See Also
|
|
195
|
+
|
|
196
|
+
- <span class="package-name">[`@stdlib/utils-map`][@stdlib/utils/map]</span><span class="delimiter">: </span><span class="description">apply a function to each element in an array and assign the result to an element in an output array.</span>
|
|
197
|
+
- <span class="package-name">[`@stdlib/utils-map2d`][@stdlib/utils/map2d]</span><span class="delimiter">: </span><span class="description">apply a function to each nested element in an array of arrays and assign the result to a nested element in a new array of arrays.</span>
|
|
198
|
+
- <span class="package-name">[`@stdlib/utils-map3d`][@stdlib/utils/map3d]</span><span class="delimiter">: </span><span class="description">apply a function to each nested element in a three-dimensional nested array and assign the result to a nested element in a new three-dimensional nested array.</span>
|
|
199
|
+
- <span class="package-name">[`@stdlib/utils-map5d`][@stdlib/utils/map5d]</span><span class="delimiter">: </span><span class="description">apply a function to each nested element in a five-dimensional nested array and assign the result to a nested element in a new five-dimensional nested array.</span>
|
|
200
|
+
|
|
192
201
|
</section>
|
|
193
202
|
|
|
194
203
|
<!-- /.related -->
|
|
@@ -219,7 +228,7 @@ See [LICENSE][stdlib-license].
|
|
|
219
228
|
|
|
220
229
|
## Copyright
|
|
221
230
|
|
|
222
|
-
Copyright © 2016-
|
|
231
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
223
232
|
|
|
224
233
|
</section>
|
|
225
234
|
|
|
@@ -232,8 +241,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
232
241
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/utils-map4d.svg
|
|
233
242
|
[npm-url]: https://npmjs.org/package/@stdlib/utils-map4d
|
|
234
243
|
|
|
235
|
-
[test-image]: https://github.com/stdlib-js/utils-map4d/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
236
|
-
[test-url]: https://github.com/stdlib-js/utils-map4d/actions/workflows/test.yml?query=branch:v0.
|
|
244
|
+
[test-image]: https://github.com/stdlib-js/utils-map4d/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
245
|
+
[test-url]: https://github.com/stdlib-js/utils-map4d/actions/workflows/test.yml?query=branch:v0.2.0
|
|
237
246
|
|
|
238
247
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/utils-map4d/main.svg
|
|
239
248
|
[coverage-url]: https://codecov.io/github/stdlib-js/utils-map4d?branch=main
|
|
@@ -256,12 +265,27 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
256
265
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
257
266
|
|
|
258
267
|
[deno-url]: https://github.com/stdlib-js/utils-map4d/tree/deno
|
|
268
|
+
[deno-readme]: https://github.com/stdlib-js/utils-map4d/blob/deno/README.md
|
|
259
269
|
[umd-url]: https://github.com/stdlib-js/utils-map4d/tree/umd
|
|
270
|
+
[umd-readme]: https://github.com/stdlib-js/utils-map4d/blob/umd/README.md
|
|
260
271
|
[esm-url]: https://github.com/stdlib-js/utils-map4d/tree/esm
|
|
272
|
+
[esm-readme]: https://github.com/stdlib-js/utils-map4d/blob/esm/README.md
|
|
261
273
|
[branches-url]: https://github.com/stdlib-js/utils-map4d/blob/main/branches.md
|
|
262
274
|
|
|
263
275
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-map4d/main/LICENSE
|
|
264
276
|
|
|
277
|
+
<!-- <related-links> -->
|
|
278
|
+
|
|
279
|
+
[@stdlib/utils/map]: https://www.npmjs.com/package/@stdlib/utils-map
|
|
280
|
+
|
|
281
|
+
[@stdlib/utils/map2d]: https://www.npmjs.com/package/@stdlib/utils-map2d
|
|
282
|
+
|
|
283
|
+
[@stdlib/utils/map3d]: https://www.npmjs.com/package/@stdlib/utils-map3d
|
|
284
|
+
|
|
285
|
+
[@stdlib/utils/map5d]: https://www.npmjs.com/package/@stdlib/utils-map5d
|
|
286
|
+
|
|
287
|
+
<!-- </related-links> -->
|
|
288
|
+
|
|
265
289
|
</section>
|
|
266
290
|
|
|
267
291
|
<!-- /.links -->
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -88,8 +88,8 @@ type Callback<T, U, V> = Nullary<U, V> | Unary<T, U, V> | Binary<T, U, V> | Tern
|
|
|
88
88
|
* @returns four-dimensional nested array
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
|
-
* var naryFunction = require(
|
|
92
|
-
* var abs = require(
|
|
91
|
+
* var naryFunction = require( '@stdlib/utils-nary-function' );
|
|
92
|
+
* var abs = require( '@stdlib/math-base-special-abs' );
|
|
93
93
|
*
|
|
94
94
|
* var arr = [
|
|
95
95
|
* [ [ [ -1, -2, -3 ] ] ],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/utils-map4d",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Apply a function to each nested element in a four-dimensional nested array and assign the result to a nested element in a new four-dimensional nested array.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,25 +37,26 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/assert-is-array-like-object": "^0.
|
|
41
|
-
"@stdlib/assert-is-function": "^0.
|
|
42
|
-
"@stdlib/string-format": "^0.
|
|
43
|
-
"@stdlib/types": "^0.1
|
|
44
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.1.
|
|
40
|
+
"@stdlib/assert-is-array-like-object": "^0.2.0",
|
|
41
|
+
"@stdlib/assert-is-function": "^0.2.0",
|
|
42
|
+
"@stdlib/string-format": "^0.2.0",
|
|
43
|
+
"@stdlib/types": "^0.3.1",
|
|
44
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.1.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@stdlib/array-base-filled4d-by": "^0.0
|
|
48
|
-
"@stdlib/array-filled-by": "^0.0
|
|
49
|
-
"@stdlib/array-float64": "^0.1.
|
|
50
|
-
"@stdlib/assert-is-array-array": "^0.
|
|
51
|
-
"@stdlib/
|
|
52
|
-
"@stdlib/math-base-special-
|
|
53
|
-
"@stdlib/
|
|
54
|
-
"@stdlib/
|
|
55
|
-
"@stdlib/utils-nary-function": "^0.1.0",
|
|
47
|
+
"@stdlib/array-base-filled4d-by": "^0.1.0",
|
|
48
|
+
"@stdlib/array-filled-by": "^0.1.0",
|
|
49
|
+
"@stdlib/array-float64": "^0.1.1",
|
|
50
|
+
"@stdlib/assert-is-array-array": "^0.2.0",
|
|
51
|
+
"@stdlib/math-base-special-abs": "^0.1.1",
|
|
52
|
+
"@stdlib/math-base-special-abs2": "^0.1.1",
|
|
53
|
+
"@stdlib/random-base-discrete-uniform": "^0.1.0",
|
|
54
|
+
"@stdlib/utils-nary-function": "^0.2.0",
|
|
56
55
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
57
56
|
"istanbul": "^0.4.1",
|
|
58
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
57
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
58
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
59
|
+
"@stdlib/bench": "^0.3.1"
|
|
59
60
|
},
|
|
60
61
|
"engines": {
|
|
61
62
|
"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
|