diff --git a/lib/node_modules/@stdlib/blas/base/dscal-wasm/README.md b/lib/node_modules/@stdlib/blas/base/dscal-wasm/README.md index 39dd435bfec..3008910bf4e 100644 --- a/lib/node_modules/@stdlib/blas/base/dscal-wasm/README.md +++ b/lib/node_modules/@stdlib/blas/base/dscal-wasm/README.md @@ -94,7 +94,6 @@ dscal.ndarray( x.length, 5.0, x, 1, 0 ); The function has the following additional parameters: - **offsetX**: starting index for `x`. -- **offsetY**: starting index for `y`. While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index. For example, to multiply every other value in `x` by a constant `alpha` starting from the second element, diff --git a/lib/node_modules/@stdlib/blas/base/dscal-wasm/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/dscal-wasm/docs/repl.txt index 7f86c23a885..380939be55b 100644 --- a/lib/node_modules/@stdlib/blas/base/dscal-wasm/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/dscal-wasm/docs/repl.txt @@ -8,7 +8,7 @@ Indexing is relative to the first index. To introduce an offset, use typed array views. - If `N <= 0` the function returns `x` unchanged. + If `N <= 0`, the function returns `x` unchanged. Parameters ---------- diff --git a/lib/node_modules/@stdlib/blas/base/dscal-wasm/lib/routine.js b/lib/node_modules/@stdlib/blas/base/dscal-wasm/lib/routine.js index 4de3b15ca91..8c81d5235ad 100644 --- a/lib/node_modules/@stdlib/blas/base/dscal-wasm/lib/routine.js +++ b/lib/node_modules/@stdlib/blas/base/dscal-wasm/lib/routine.js @@ -162,7 +162,7 @@ setReadOnly( Routine.prototype, 'ndarray', function dscal( N, alpha, x, strideX, // Perform computation by calling the corresponding parent method: Module.prototype.ndarray.call( this, N, alpha, p0.ptr, p0.stride, p0.offset ); // eslint-disable-line max-len - // If the output array data had to be copied to module memory, copy the results to the provided input array... + // If the input array data had to be copied to module memory, copy the results to the provided input array... if ( p0.copy ) { readDataView( N, this.view, p0.stride*p0.BYTES_PER_ELEMENT, p0.ptr, x, strideX, offsetX, true ); // eslint-disable-line max-len }