From 58f65d77090b3664a18ec28c369af217e347add9 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 12:27:29 +0000 Subject: [PATCH 1/5] docs: fix stride parameter name in `blas/base/wasm/dasum` README The `.main` method signature header documented the stride parameter as `stride`, diverging from the `strideX` name used by every sibling package (32/33; 97%) and by the package's own routine code, parameter list, and `.ndarray` header. Rename to `strideX` for consistency. --- lib/node_modules/@stdlib/blas/base/wasm/dasum/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/wasm/dasum/README.md b/lib/node_modules/@stdlib/blas/base/wasm/dasum/README.md index e438827327d1..e84674e31b31 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/dasum/README.md +++ b/lib/node_modules/@stdlib/blas/base/wasm/dasum/README.md @@ -30,7 +30,7 @@ limitations under the License. var dasum = require( '@stdlib/blas/base/wasm/dasum' ); ``` -#### dasum.main( N, x, stride ) +#### dasum.main( N, x, strideX ) Computes the sum of absolute values. From abed8c3a82cfa3eb745099a1c2db90773ca4d3db Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 12:27:30 +0000 Subject: [PATCH 2/5] chore: correct package description for `blas/base/wasm/scnrm2` The package description was copy-pasted from a `scal` routine ("Multiply a vector `x` by a scalar `alpha`.") and did not describe the routine. Replace it with the L2-norm description already used by the package's own README tagline and JSDoc, matching the convention that 33/33 sibling packages describe their own operation. --- lib/node_modules/@stdlib/blas/base/wasm/scnrm2/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/wasm/scnrm2/package.json b/lib/node_modules/@stdlib/blas/base/wasm/scnrm2/package.json index f9f2ea997f27..e3c55404dd8f 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/scnrm2/package.json +++ b/lib/node_modules/@stdlib/blas/base/wasm/scnrm2/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/blas/base/wasm/scnrm2", "version": "0.0.0", - "description": "Multiply a vector `x` by a scalar `alpha`.", + "description": "Calculate the L2-norm of a single-precision complex floating-point vector.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", From dfe5e358b4ae455816485c2b5d1ccd6d02a00e8c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 12:27:31 +0000 Subject: [PATCH 3/5] docs: fix JSDoc example comment margins in `blas/base/wasm/zcopy` Expected-output lines in the JSDoc `@example` blocks were written flush-left (`// y => ...`), breaking out of the doc-comment `*` margin used by 31/33 (94%) sibling packages. Add the leading `* ` to the six affected lines in `lib/main.js` and `lib/routine.js` so they align with the surrounding documentation comment. --- lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/main.js | 4 ++-- .../@stdlib/blas/base/wasm/zcopy/lib/routine.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/main.js b/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/main.js index a1fed48b37f4..01e577b08f5f 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/main.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/main.js @@ -42,7 +42,7 @@ var Module = require( './module.js' ); * * // Perform operation: * zcopy.main( x.length, x, 1, y, 1 ); -// y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] +* // y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); @@ -53,7 +53,7 @@ var Module = require( './module.js' ); * * // Perform operation: * zcopy.ndarray( x.length, x, 1, 0, y, -1, 2 ); -// y => [ -5.0, -6.0, -3.0, -4.0, -1.0, -2.0 ] +* // y => [ -5.0, -6.0, -3.0, -4.0, -1.0, -2.0 ] */ var zcopy = new Routine(); zcopy.initializeSync(); // eslint-disable-line n/no-sync diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/routine.js b/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/routine.js index c0b9ff6f77b7..b0f40fa742b2 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/routine.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zcopy/lib/routine.js @@ -56,7 +56,7 @@ var Module = require( './module.js' ); * * // Perform operation: * zcopy.main( x.length, x, 1, y, 1 ); -// y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] +* // y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); @@ -73,7 +73,7 @@ var Module = require( './module.js' ); * * // Perform operation: * zcopy.ndarray( x.length, x, 1, 0, y, 1, 0 ); -// y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] +* // y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] */ function Routine() { if ( !( this instanceof Routine ) ) { @@ -117,7 +117,7 @@ inherits( Routine, Module ); * * // Perform operation: * zcopy.main( x.length, x, 1, y, -1 ); -// y => [ -5.0, -6.0, -3.0, -4.0, -1.0, -2.0 ] +* // y => [ -5.0, -6.0, -3.0, -4.0, -1.0, -2.0 ] */ setReadOnly( Routine.prototype, 'main', function zcopy( N, x, strideX, y, strideY ) { return this.ndarray( N, x, strideX, stride2offset( N, strideX ), y, strideY, stride2offset( N, strideY ) ); // eslint-disable-line max-len @@ -154,7 +154,7 @@ setReadOnly( Routine.prototype, 'main', function zcopy( N, x, strideX, y, stride * * // Perform operation: * zcopy.ndarray( x.length, x, 1, 0, y, 1, 0 ); -// y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] +* // y => [ -1.0, -2.0, -3.0, -4.0, -5.0, -6.0 ] */ setReadOnly( Routine.prototype, 'ndarray', function zcopy( N, x, strideX, offsetX, y, strideY, offsetY ) { var ptrs; From c5f1d60814e0264abbef091b0f4642c5a6cde3e5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 12:27:31 +0000 Subject: [PATCH 4/5] docs: fix JSDoc example comment margins in `blas/base/wasm/zdrot` Expected-output lines in the JSDoc `@example` blocks were written flush-left (`// zx => ...`, `// zy => ...`), breaking out of the doc-comment `*` margin used by 31/33 (94%) sibling packages. Add the leading `* ` to the sixteen affected lines across `lib/main.js`, `lib/routine.js`, and `lib/index.js`. --- .../@stdlib/blas/base/wasm/zdrot/lib/index.js | 8 ++++---- .../@stdlib/blas/base/wasm/zdrot/lib/main.js | 8 ++++---- .../@stdlib/blas/base/wasm/zdrot/lib/routine.js | 16 ++++++++-------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/index.js b/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/index.js index ca25ee4f12fa..777c9a4f30fd 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/index.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/index.js @@ -33,8 +33,8 @@ * * // Perform operation: * zdrot.main( zx.length, zx, 1, zy, 1, 0.8, 0.6 ); -// zx => [ 5.0, 6.4, 7.8, 9.2, 10.6, 12.0 ] -// zy => [ ~5.0, 5.2, 5.4, ~5.6, ~5.8, ~6.0 ] +* // zx => [ 5.0, 6.4, 7.8, 9.2, 10.6, 12.0 ] +* // zy => [ ~5.0, 5.2, 5.4, ~5.6, ~5.8, ~6.0 ] * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); @@ -46,8 +46,8 @@ * * // Perform operation: * zdrot.ndarray( zx.length, zx, 1, 0, zy, 1, 0, 0.8, 0.6 ); -// zx => [ 5.0, 6.4, 7.8, 9.2, 10.6, 12.0 ] -// zy => [ ~5.0, 5.2, 5.4, ~5.6, ~5.8, ~6.0 ] +* // zx => [ 5.0, 6.4, 7.8, 9.2, 10.6, 12.0 ] +* // zy => [ ~5.0, 5.2, 5.4, ~5.6, ~5.8, ~6.0 ] * * @example * var Memory = require( '@stdlib/wasm/memory' ); diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/main.js b/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/main.js index 5bbb1a6ddf19..028a68dc00c4 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/main.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/main.js @@ -42,8 +42,8 @@ var Module = require( './module.js' ); * * // Perform operation: * zdrot.main( zx.length, zx, 1, zy, 1, 0.8, 0.6 ); -// zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] -// zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] +* // zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] +* // zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); @@ -54,8 +54,8 @@ var Module = require( './module.js' ); * * // Perform operation: * zdrot.ndarray( zx.length, zx, 1, 0, zy, 1, 0, 0.8, 0.6 ); -// zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] -// zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] +* // zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] +* // zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] */ var zdrot = new Routine(); zdrot.initializeSync(); // eslint-disable-line n/no-sync diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/routine.js b/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/routine.js index 225abcc7f47d..86101f0c7736 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/routine.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zdrot/lib/routine.js @@ -56,8 +56,8 @@ var Module = require( './module.js' ); * * // Perform operation: * zdrot.main( zx.length, zx, 1, zy, 1, 0.8, 0.6 ); -// zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] -// zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] +* // zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] +* // zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); @@ -74,8 +74,8 @@ var Module = require( './module.js' ); * * // Perform operation: * zdrot.ndarray( zx.length, zx, 1, 0, zy, 1, 0, 0.8, 0.6 ); -// zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] -// zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] +* // zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] +* // zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] */ function Routine() { if ( !( this instanceof Routine ) ) { @@ -121,8 +121,8 @@ inherits( Routine, Module ); * * // Perform operation: * zdrot.main( zx.length, zx, 1, zy, 1, 0.8, 0.6 ); -// zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] -// zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] +* // zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] +* // zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] */ setReadOnly( Routine.prototype, 'main', function zdrot( N, zx, strideX, zy, strideY, c, s ) { return this.ndarray( N, zx, strideX, stride2offset( N, strideX ), zy, strideY, stride2offset( N, strideY ), c, s ); // eslint-disable-line max-len @@ -161,8 +161,8 @@ setReadOnly( Routine.prototype, 'main', function zdrot( N, zx, strideX, zy, stri * * // Perform operation: * zdrot.ndarray( zx.length, zx, 1, 0, zy, 1, 0, 0.8, 0.6 ); -// zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] -// zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] +* // zx => [ ~-0.2, ~-0.4, ~-0.6, ~-0.8, -1.0, ~-1.2 ] +* // zy => [ 1.4, 2.8, 4.2, 5.6, 7.0, 8.4 ] */ setReadOnly( Routine.prototype, 'ndarray', function zdrot( N, zx, strideX, offsetX, zy, strideY, offsetY, c, s ) { var ptrs; From 8cdc300e722c3d65e2c5cab7d61e6e728caade70 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 12:27:32 +0000 Subject: [PATCH 5/5] docs: normalize `strideX` parameter description in `blas/base/wasm/zscal` The `strideX` JSDoc parameter description read ``stride length for `x```, reversing the `` `x` stride length `` wording used by 32/33 (97%) sibling packages. Normalize the wording in both `lib/routine.js` and `lib/module.js`. --- lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/module.js | 4 ++-- lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/routine.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/module.js b/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/module.js index 90a34a16c59e..8a739be8fd20 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/module.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/module.js @@ -127,7 +127,7 @@ inherits( Module, WasmModule ); * @param {PositiveInteger} N - number of indexed elements * @param {NonNegativeInteger} aptr - scalar constant pointer (i.e., byte offset) * @param {NonNegativeInteger} xptr - input array pointer (i.e., byte offset) -* @param {integer} strideX - stride length for `x` +* @param {integer} strideX - `x` stride length * @returns {NonNegativeInteger} input array pointer (i.e., byte offset) * * @example @@ -202,7 +202,7 @@ setReadOnly( Module.prototype, 'main', function zscal( N, aptr, xptr, strideX ) * @param {PositiveInteger} N - number of indexed elements * @param {NonNegativeInteger} aptr - scalar constant pointer (i.e., byte offset) * @param {NonNegativeInteger} xptr - input array pointer (i.e., byte offset) -* @param {integer} strideX - stride length for `x` +* @param {integer} strideX - `x` stride length * @param {NonNegativeInteger} offsetX - starting `x` index * @returns {NonNegativeInteger} input array pointer (i.e., byte offset) * diff --git a/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/routine.js b/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/routine.js index a56e0396d971..fbb9db587ab1 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/routine.js +++ b/lib/node_modules/@stdlib/blas/base/wasm/zscal/lib/routine.js @@ -105,7 +105,7 @@ inherits( Routine, Module ); * @param {PositiveInteger} N - number of indexed elements * @param {Complex128} alpha - scalar constant * @param {Complex128Array} x - input array -* @param {integer} strideX - stride length for `x` +* @param {integer} strideX - `x` stride length * @returns {Complex128Array} input array * * @example @@ -142,7 +142,7 @@ setReadOnly( Routine.prototype, 'main', function zscal( N, alpha, x, strideX ) { * @param {PositiveInteger} N - number of indexed elements * @param {Complex128} alpha - scalar constant * @param {Complex128Array} x - input array -* @param {integer} strideX - stride length for `x` +* @param {integer} strideX - `x` stride length * @param {NonNegativeInteger} offsetX - starting index for `x` * @returns {Complex128Array} input array *