Skip to content

Commit 12d0109

Browse files
authored
chore: update implementation
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 5c0bf73 commit 12d0109

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/node_modules/@stdlib/blas/base/zdscal/lib/ndarray.native.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,7 @@ function zdscal( N, alpha, x, strideX, offsetX ) {
5050
addon.ndarray( N, alpha, viewX, strideX, offsetX );
5151
return x;
5252
}
53-
var Complex128Array = require( '@stdlib/array/complex128' );
5453

55-
var x = new Complex128Array( [ 0.1, // 3
56-
0.1, // 3
57-
3.0,
58-
6.0,
59-
-0.6, // 2
60-
0.1, // 2
61-
4.0,
62-
7.0,
63-
0.1, // 1
64-
-0.3, // 1
65-
7.0,
66-
2.0 ] );
67-
68-
console.log(zdscal(3, 2.0, x, -2, 4));
69-
for (let i = 0; i < x.length; i++) {
70-
const v = x.get(i); // returns { re, im }
71-
console.log(`x[${i}] = ${v.re} + ${v.im}i`);
72-
}
7354

7455
// EXPORTS //
7556

0 commit comments

Comments
 (0)