Skip to content

Commit 41d3273

Browse files
committed
docs: update examples for �las/base/wasm/cscal
1 parent 749a4ea commit 41d3273

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/blas/base/wasm/cscal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var cx1 = new Complex64Array( cx0.buffer, cx0.BYTES_PER_ELEMENT*1 ); // start at
9494

9595
// Scales every other value from `cx1` by `ca`...
9696
cscal.main( 3, ca, cx1, 1 );
97-
// cx => <Complex64Array>[ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0]
97+
// cx0 => <Complex64Array>[ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0]
9898

9999
```
100100

lib/node_modules/@stdlib/blas/base/wasm/cscal/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var Routine = require( './routine.js' );
4343
*
4444
* // Perform operation:
4545
* cscal.main( x.length, z, x, 1 );
46-
* // cx => <Complex64Array>[ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0]
46+
* // x => <Complex64Array>[ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0]
4747
*
4848
* @example
4949
* var Complex64Array = require( '@stdlib/array/complex64' );
@@ -57,7 +57,7 @@ var Routine = require( './routine.js' );
5757
*
5858
* // Perform operation:
5959
* cscal.ndarray( x.length, z, x, 1, 0 );
60-
* cx => <Complex64Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
60+
* x => <Complex64Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
6161
*/
6262
var cscal = new Routine();
6363
cscal.initializeSync(); // eslint-disable-line node/no-sync

0 commit comments

Comments
 (0)