@stdlib/array-base-copy 0.2.1 → 0.2.3
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 +7 -15
- package/package.json +2 -2
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -99,8 +99,6 @@ var bool = ( out === x );
|
|
|
99
99
|
|
|
100
100
|
```javascript
|
|
101
101
|
var Complex64Array = require( '@stdlib/array-complex64' );
|
|
102
|
-
var realf = require( '@stdlib/complex-realf' );
|
|
103
|
-
var imagf = require( '@stdlib/complex-imagf' );
|
|
104
102
|
var copy = require( '@stdlib/array-base-copy' );
|
|
105
103
|
|
|
106
104
|
// Create a complex number array:
|
|
@@ -111,15 +109,9 @@ var out = copy( arr );
|
|
|
111
109
|
|
|
112
110
|
// Retrieve the first element:
|
|
113
111
|
var z = out[ 0 ];
|
|
114
|
-
// returns <Complex64>
|
|
112
|
+
// returns <Complex64>[ 0.0, 0.0 ]
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
// returns 0.0
|
|
118
|
-
|
|
119
|
-
var im = imagf( z );
|
|
120
|
-
// returns 0.0
|
|
121
|
-
|
|
122
|
-
console.log( '%d + %di', re, im );
|
|
114
|
+
console.log( '%s', z.toString() );
|
|
123
115
|
// => '0 + 0i'
|
|
124
116
|
```
|
|
125
117
|
|
|
@@ -169,7 +161,7 @@ See [LICENSE][stdlib-license].
|
|
|
169
161
|
|
|
170
162
|
## Copyright
|
|
171
163
|
|
|
172
|
-
Copyright © 2016-
|
|
164
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
173
165
|
|
|
174
166
|
</section>
|
|
175
167
|
|
|
@@ -182,8 +174,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
182
174
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/array-base-copy.svg
|
|
183
175
|
[npm-url]: https://npmjs.org/package/@stdlib/array-base-copy
|
|
184
176
|
|
|
185
|
-
[test-image]: https://github.com/stdlib-js/array-base-copy/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
186
|
-
[test-url]: https://github.com/stdlib-js/array-base-copy/actions/workflows/test.yml?query=branch:v0.2.
|
|
177
|
+
[test-image]: https://github.com/stdlib-js/array-base-copy/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
178
|
+
[test-url]: https://github.com/stdlib-js/array-base-copy/actions/workflows/test.yml?query=branch:v0.2.3
|
|
187
179
|
|
|
188
180
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-copy/main.svg
|
|
189
181
|
[coverage-url]: https://codecov.io/github/stdlib-js/array-base-copy?branch=main
|
|
@@ -195,8 +187,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
195
187
|
|
|
196
188
|
-->
|
|
197
189
|
|
|
198
|
-
[chat-image]: https://img.shields.io/
|
|
199
|
-
[chat-url]: https://
|
|
190
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
191
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
200
192
|
|
|
201
193
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
202
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-base-copy",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Copy the elements of an array-like object to a new generic array.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/array-base-resolve-getter": "^0.2.
|
|
33
|
+
"@stdlib/array-base-resolve-getter": "^0.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {},
|
|
36
36
|
"engines": {
|