Skip to content

Commit ba99cc0

Browse files
committed
docs: fix variable name
1 parent e692962 commit ba99cc0

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/blas/base/cscal-wasm

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ The function has the following additional parameters:
351351

352352
## Notes
353353

354-
- If `N <= 0`, `x` is left unchanged.
354+
- If `N <= 0`, `cx` is left unchanged.
355355
- This package implements routines using WebAssembly. When provided arrays which are not allocated on a `cscal` module memory instance, data must be explicitly copied to module memory prior to computation. Data movement may entail a performance cost, and, thus, if you are using arrays external to module memory, you should prefer using [`@stdlib/blas/base/cscal`][@stdlib/blas/base/cscal]. However, if working with arrays which are allocated and explicitly managed on module memory, you can achieve better performance when compared to the pure JavaScript implementations found in [`@stdlib/blas/base/cscal`][@stdlib/blas/base/cscal]. Beware that such performance gains may come at the cost of additional complexity when having to perform manual memory management. Choosing between implementations depends heavily on the particular needs and constraints of your application, with no one choice universally better than the other.
356356
- `cscal()` corresponds to the [BLAS][blas] level 1 function [`cscal`][cscal].
357357

0 commit comments

Comments
 (0)