@stdlib/blas-base-ccopy 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 +7 -4
- package/SECURITY.md +5 -0
- package/docs/types/index.d.ts +14 -14
- package/manifest.json +22 -1
- package/package.json +24 -23
- 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
|
@@ -166,7 +166,7 @@ The function has the following additional parameters:
|
|
|
166
166
|
- **offsetX**: starting index for `x`.
|
|
167
167
|
- **offsetY**: starting index for `y`.
|
|
168
168
|
|
|
169
|
-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying
|
|
169
|
+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to copy every other value in `x` starting from the second value into the last `N` elements in `y` where `x[i] = y[n]`, `x[i+2] = y[n-1]`,...,
|
|
170
170
|
|
|
171
171
|
```javascript
|
|
172
172
|
var Complex64Array = require( '@stdlib/array-complex64' );
|
|
@@ -274,7 +274,7 @@ See [LICENSE][stdlib-license].
|
|
|
274
274
|
|
|
275
275
|
## Copyright
|
|
276
276
|
|
|
277
|
-
Copyright © 2016-
|
|
277
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
278
278
|
|
|
279
279
|
</section>
|
|
280
280
|
|
|
@@ -287,8 +287,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
287
287
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-base-ccopy.svg
|
|
288
288
|
[npm-url]: https://npmjs.org/package/@stdlib/blas-base-ccopy
|
|
289
289
|
|
|
290
|
-
[test-image]: https://github.com/stdlib-js/blas-base-ccopy/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
291
|
-
[test-url]: https://github.com/stdlib-js/blas-base-ccopy/actions/workflows/test.yml?query=branch:v0.
|
|
290
|
+
[test-image]: https://github.com/stdlib-js/blas-base-ccopy/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
291
|
+
[test-url]: https://github.com/stdlib-js/blas-base-ccopy/actions/workflows/test.yml?query=branch:v0.2.0
|
|
292
292
|
|
|
293
293
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-base-ccopy/main.svg
|
|
294
294
|
[coverage-url]: https://codecov.io/github/stdlib-js/blas-base-ccopy?branch=main
|
|
@@ -311,8 +311,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
311
311
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
312
312
|
|
|
313
313
|
[deno-url]: https://github.com/stdlib-js/blas-base-ccopy/tree/deno
|
|
314
|
+
[deno-readme]: https://github.com/stdlib-js/blas-base-ccopy/blob/deno/README.md
|
|
314
315
|
[umd-url]: https://github.com/stdlib-js/blas-base-ccopy/tree/umd
|
|
316
|
+
[umd-readme]: https://github.com/stdlib-js/blas-base-ccopy/blob/umd/README.md
|
|
315
317
|
[esm-url]: https://github.com/stdlib-js/blas-base-ccopy/tree/esm
|
|
318
|
+
[esm-readme]: https://github.com/stdlib-js/blas-base-ccopy/blob/esm/README.md
|
|
316
319
|
[branches-url]: https://github.com/stdlib-js/blas-base-ccopy/blob/main/branches.md
|
|
317
320
|
|
|
318
321
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/blas-base-ccopy/main/LICENSE
|
package/SECURITY.md
ADDED
package/docs/types/index.d.ts
CHANGED
|
@@ -37,9 +37,9 @@ interface Routine {
|
|
|
37
37
|
* @returns output array
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
|
-
* var Complex64Array = require(
|
|
41
|
-
* var realf = require(
|
|
42
|
-
* var imagf = require(
|
|
40
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
41
|
+
* var realf = require( '@stdlib/complex-realf' );
|
|
42
|
+
* var imagf = require( '@stdlib/complex-imagf' );
|
|
43
43
|
*
|
|
44
44
|
* var x = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
|
|
45
45
|
* var y = new Complex64Array( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] );
|
|
@@ -55,7 +55,7 @@ interface Routine {
|
|
|
55
55
|
* var im = imagf( z );
|
|
56
56
|
* // returns 2.0
|
|
57
57
|
*/
|
|
58
|
-
( N: number, x: Complex64Array, strideX: number, y: Complex64Array, strideY: number ): Complex64Array;
|
|
58
|
+
( N: number, x: Complex64Array, strideX: number, y: Complex64Array, strideY: number ): Complex64Array;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* Copies values from one complex single-precision floating-point vector to another complex single-precision floating-point vector using alternative indexing semantics.
|
|
@@ -70,9 +70,9 @@ interface Routine {
|
|
|
70
70
|
* @returns output array
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
|
-
* var Complex64Array = require(
|
|
74
|
-
* var realf = require(
|
|
75
|
-
* var imagf = require(
|
|
73
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
74
|
+
* var realf = require( '@stdlib/complex-realf' );
|
|
75
|
+
* var imagf = require( '@stdlib/complex-imagf' );
|
|
76
76
|
*
|
|
77
77
|
* var x = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
|
|
78
78
|
* var y = new Complex64Array( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] );
|
|
@@ -88,7 +88,7 @@ interface Routine {
|
|
|
88
88
|
* var im = imagf( z );
|
|
89
89
|
* // returns 2.0
|
|
90
90
|
*/
|
|
91
|
-
ndarray( N: number, x: Complex64Array, strideX: number, offsetX: number, y: Complex64Array, strideY: number, offsetY: number ): Complex64Array;
|
|
91
|
+
ndarray( N: number, x: Complex64Array, strideX: number, offsetX: number, y: Complex64Array, strideY: number, offsetY: number ): Complex64Array;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/**
|
|
@@ -102,9 +102,9 @@ interface Routine {
|
|
|
102
102
|
* @returns output array
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
|
-
* var Complex64Array = require(
|
|
106
|
-
* var realf = require(
|
|
107
|
-
* var imagf = require(
|
|
105
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
106
|
+
* var realf = require( '@stdlib/complex-realf' );
|
|
107
|
+
* var imagf = require( '@stdlib/complex-imagf' );
|
|
108
108
|
*
|
|
109
109
|
* var x = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
|
|
110
110
|
* var y = new Complex64Array( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] );
|
|
@@ -121,9 +121,9 @@ interface Routine {
|
|
|
121
121
|
* // returns 2.0
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
|
-
* var Complex64Array = require(
|
|
125
|
-
* var realf = require(
|
|
126
|
-
* var imagf = require(
|
|
124
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
125
|
+
* var realf = require( '@stdlib/complex-realf' );
|
|
126
|
+
* var imagf = require( '@stdlib/complex-imagf' );
|
|
127
127
|
*
|
|
128
128
|
* var x = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
|
|
129
129
|
* var y = new Complex64Array( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] );
|
package/manifest.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"options": {
|
|
3
3
|
"os": "linux",
|
|
4
|
-
"blas": ""
|
|
4
|
+
"blas": "",
|
|
5
|
+
"wasm": false
|
|
5
6
|
},
|
|
6
7
|
"fields": [
|
|
7
8
|
{
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
{
|
|
30
31
|
"os": "linux",
|
|
31
32
|
"blas": "",
|
|
33
|
+
"wasm": false,
|
|
32
34
|
"src": [
|
|
33
35
|
"./src/ccopy.f",
|
|
34
36
|
"./src/ccopy_f.c"
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
{
|
|
49
51
|
"os": "linux",
|
|
50
52
|
"blas": "openblas",
|
|
53
|
+
"wasm": false,
|
|
51
54
|
"src": [
|
|
52
55
|
"./src/ccopy_cblas.c"
|
|
53
56
|
],
|
|
@@ -69,6 +72,7 @@
|
|
|
69
72
|
{
|
|
70
73
|
"os": "mac",
|
|
71
74
|
"blas": "",
|
|
75
|
+
"wasm": false,
|
|
72
76
|
"src": [
|
|
73
77
|
"./src/ccopy.f",
|
|
74
78
|
"./src/ccopy_f.c"
|
|
@@ -88,6 +92,7 @@
|
|
|
88
92
|
{
|
|
89
93
|
"os": "mac",
|
|
90
94
|
"blas": "apple_accelerate_framework",
|
|
95
|
+
"wasm": false,
|
|
91
96
|
"src": [
|
|
92
97
|
"./src/ccopy_cblas.c"
|
|
93
98
|
],
|
|
@@ -108,6 +113,7 @@
|
|
|
108
113
|
{
|
|
109
114
|
"os": "mac",
|
|
110
115
|
"blas": "openblas",
|
|
116
|
+
"wasm": false,
|
|
111
117
|
"src": [
|
|
112
118
|
"./src/ccopy_cblas.c"
|
|
113
119
|
],
|
|
@@ -129,6 +135,7 @@
|
|
|
129
135
|
{
|
|
130
136
|
"os": "win",
|
|
131
137
|
"blas": "",
|
|
138
|
+
"wasm": false,
|
|
132
139
|
"src": [
|
|
133
140
|
"./src/ccopy.c"
|
|
134
141
|
],
|
|
@@ -143,6 +150,20 @@
|
|
|
143
150
|
"@stdlib/napi-argv-int64",
|
|
144
151
|
"@stdlib/napi-argv-strided-complex64array"
|
|
145
152
|
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"os": "",
|
|
156
|
+
"blas": "",
|
|
157
|
+
"wasm": true,
|
|
158
|
+
"src": [
|
|
159
|
+
"./src/ccopy.c"
|
|
160
|
+
],
|
|
161
|
+
"include": [
|
|
162
|
+
"./include"
|
|
163
|
+
],
|
|
164
|
+
"libraries": [],
|
|
165
|
+
"libpath": [],
|
|
166
|
+
"dependencies": []
|
|
146
167
|
}
|
|
147
168
|
]
|
|
148
169
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/blas-base-ccopy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Copy values from one complex single-precision floating-point vector to another complex single-precision floating-point vector.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -41,33 +41,34 @@
|
|
|
41
41
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@stdlib/assert-is-error": "^0.
|
|
45
|
-
"@stdlib/napi-argv": "^0.
|
|
46
|
-
"@stdlib/napi-argv-int64": "^0.
|
|
47
|
-
"@stdlib/napi-argv-strided-complex64array": "^0.
|
|
48
|
-
"@stdlib/napi-export": "^0.
|
|
49
|
-
"@stdlib/strided-base-reinterpret-complex64": "^0.
|
|
50
|
-
"@stdlib/types": "^0.1
|
|
51
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.
|
|
52
|
-
"@stdlib/utils-library-manifest": "^0.
|
|
53
|
-
"@stdlib/utils-try-require": "^0.
|
|
44
|
+
"@stdlib/assert-is-error": "^0.2.0",
|
|
45
|
+
"@stdlib/napi-argv": "^0.2.0",
|
|
46
|
+
"@stdlib/napi-argv-int64": "^0.2.0",
|
|
47
|
+
"@stdlib/napi-argv-strided-complex64array": "^0.2.0",
|
|
48
|
+
"@stdlib/napi-export": "^0.2.0",
|
|
49
|
+
"@stdlib/strided-base-reinterpret-complex64": "^0.2.0",
|
|
50
|
+
"@stdlib/types": "^0.3.1",
|
|
51
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
|
|
52
|
+
"@stdlib/utils-library-manifest": "^0.2.0",
|
|
53
|
+
"@stdlib/utils-try-require": "^0.2.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@stdlib/array-complex64": "^0.0
|
|
57
|
-
"@stdlib/array-filled-by": "^0.0
|
|
58
|
-
"@stdlib/array-float32": "^0.1.
|
|
59
|
-
"@stdlib/assert-is-browser": "^0.1.
|
|
60
|
-
"@stdlib/
|
|
61
|
-
"@stdlib/
|
|
62
|
-
"@stdlib/math-base-
|
|
63
|
-
"@stdlib/
|
|
64
|
-
"@stdlib/random-base-discrete-uniform": "^0.0
|
|
65
|
-
"@stdlib/
|
|
66
|
-
"@stdlib/strided-base-min-view-buffer-index": "^0.1.0",
|
|
56
|
+
"@stdlib/array-complex64": "^0.1.0",
|
|
57
|
+
"@stdlib/array-filled-by": "^0.1.0",
|
|
58
|
+
"@stdlib/array-float32": "^0.1.1",
|
|
59
|
+
"@stdlib/assert-is-browser": "^0.1.1",
|
|
60
|
+
"@stdlib/complex-float32": "^0.1.1",
|
|
61
|
+
"@stdlib/math-base-assert-is-nan": "^0.1.1",
|
|
62
|
+
"@stdlib/math-base-special-pow": "^0.1.0",
|
|
63
|
+
"@stdlib/random-array-uniform": "^0.1.0",
|
|
64
|
+
"@stdlib/random-base-discrete-uniform": "^0.1.0",
|
|
65
|
+
"@stdlib/strided-base-min-view-buffer-index": "^0.2.0",
|
|
67
66
|
"proxyquire": "^2.0.0",
|
|
68
67
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
69
68
|
"istanbul": "^0.4.1",
|
|
70
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
69
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
70
|
+
"@stdlib/bench-harness": "^0.1.2",
|
|
71
|
+
"@stdlib/bench": "^0.3.1"
|
|
71
72
|
},
|
|
72
73
|
"engines": {
|
|
73
74
|
"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
|