Skip to content

Commit 22ba602

Browse files
authored
docs: fix variable name
Signed-off-by: Athan <[email protected]>
1 parent f48015e commit 22ba602

File tree

1 file changed

+6
-6
lines changed
  • lib/node_modules/@stdlib/blas/base/wasm/zscal

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ var zeros = require( '@stdlib/array/zeros' );
172172
var bytesPerElement = require( '@stdlib/ndarray/base/bytes-per-element' );
173173
var Float64Array = require( '@stdlib/array/float64' );
174174
var Complex128Array = require( '@stdlib/array/complex128' );
175-
var reinterpretComplex64 = require( '@stdlib/strided/base/reinterpret-complex128' );
175+
var reinterpretComplex128 = require( '@stdlib/strided/base/reinterpret-complex128' );
176176
var zscal = require( '@stdlib/blas/base/wasm/zscal' );
177177

178178
// Create a new memory instance with an initial size of 10 pages (320KiB) and a maximum size of 100 pages (6.4MiB):
@@ -215,7 +215,7 @@ mod.main( N, zptr, xptr, 1 );
215215
var view = zeros( N, dtype );
216216
mod.read( xptr, view );
217217

218-
console.log( reinterpretComplex64( view, 0 ) );
218+
console.log( reinterpretComplex128( view, 0 ) );
219219
// => <Float64Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0, -2.0, 30.0, -2.0, 38.0 ]
220220
```
221221

@@ -240,7 +240,7 @@ var zeros = require( '@stdlib/array/zeros' );
240240
var bytesPerElement = require( '@stdlib/ndarray/base/bytes-per-element' );
241241
var Float64Array = require( '@stdlib/array/float64' );
242242
var Complex128Array = require( '@stdlib/array/complex128' );
243-
var reinterpretComplex64 = require( '@stdlib/strided/base/reinterpret-complex128' );
243+
var reinterpretComplex128 = require( '@stdlib/strided/base/reinterpret-complex128' );
244244
var zscal = require( '@stdlib/blas/base/wasm/zscal' );
245245

246246
// Create a new memory instance with an initial size of 10 pages (320KiB) and a maximum size of 100 pages (6.4MiB):
@@ -283,7 +283,7 @@ mod.ndarray( N, zptr, xptr, 1, 0 );
283283
var view = zeros( N, dtype );
284284
mod.read( xptr, view );
285285

286-
console.log( reinterpretComplex64( view, 0 ) );
286+
console.log( reinterpretComplex128( view, 0 ) );
287287
// => <Float64Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0, -2.0, 30.0, -2.0, 38.0 ]
288288
```
289289

@@ -322,7 +322,7 @@ var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
322322
var oneTo = require( '@stdlib/array/one-to' );
323323
var Complex128 = require( '@stdlib/complex/float64/ctor' );
324324
var Complex128Array = require( '@stdlib/array/complex128' );
325-
var reinterpretComplex64 = require( '@stdlib/strided/base/reinterpret-complex128' );
325+
var reinterpretComplex128 = require( '@stdlib/strided/base/reinterpret-complex128' );
326326
var zscal = require( '@stdlib/blas/base/wasm/zscal' );
327327

328328
// Specify a vector length:
@@ -339,7 +339,7 @@ var alpha = new Complex128( 2.0, 2.0 );
339339
zscal.ndarray( N, alpha, x, 1, 0 );
340340

341341
// Print the results:
342-
console.log( reinterpretComplex64( x, 0 ) );
342+
console.log( reinterpretComplex128( x, 0 ) );
343343
// => <Float64Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0, -2.0, 30.0, -2.0, 38.0 ]
344344
```
345345

0 commit comments

Comments
 (0)