From 01ec0aec71004a401c2cd01e1109dd129ac6cdbd Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 2 Aug 2026 12:30:15 +0000 Subject: [PATCH 1/4] docs: remove references to nonexistent packages in `blas/ext/base/gcopy-within` --- .../@stdlib/blas/ext/base/gcopy-within/README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md b/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md index 461e88b3c0e7..89c16eb122f9 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md @@ -125,7 +125,6 @@ gcopyWithin.ndarray( 4, 2, 0, 2, x, 1, 2, w, 1, 0 ); - If the `start` and `target` index ranges do not overlap, the `workspace` array is unused and thus ignored. - Both functions **mutate** the provided input strided array. - Both functions support array-like objects having getter and setter accessors for array element access (e.g., [`@stdlib/array/base/accessor`][@stdlib/array/base/accessor]). -- Depending on the environment, the typed versions ([`dcopyWithin`][@stdlib/blas/ext/base/dcopy-within], [`scopyWithin`][@stdlib/blas/ext/base/scopy-within], etc.) are likely to be significantly more performant. @@ -174,10 +173,6 @@ console.log( x ); [@stdlib/array/base/accessor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/accessor -[@stdlib/blas/ext/base/dcopy-within]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/dcopy-within - -[@stdlib/blas/ext/base/scopy-within]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/scopy-within - From 847f31a7beff7d62cc5498b2617b304f0366a3ee Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 2 Aug 2026 12:30:20 +0000 Subject: [PATCH 2/4] style: add missing cppcheck suppressions and fix descriptions in `blas/ext/base/dlast-index-equal` --- .../@stdlib/blas/ext/base/dlast-index-equal/README.md | 6 +++--- .../base/dlast-index-equal/benchmark/c/benchmark.length.c | 2 ++ .../include/stdlib/blas/ext/base/dlast_index_equal.h | 4 ++-- .../base/dlast-index-equal/lib/dlast_index_equal.native.js | 2 +- .../@stdlib/blas/ext/base/dlast-index-equal/lib/index.js | 2 +- .../@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.js | 2 +- .../blas/ext/base/dlast-index-equal/lib/ndarray.native.js | 2 +- .../@stdlib/blas/ext/base/dlast-index-equal/src/main.c | 4 ++-- 8 files changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/README.md b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/README.md index 965a992b4828..3f3fde33d301 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/README.md @@ -106,7 +106,7 @@ var idx = dlastIndexEqual( 2, x1, 1, y1, 1 ); #### dlastIndexEqual.ndarray( N, x, strideX, offsetX, y, strideY, offsetY ) -Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array using alternative indexing semantics. +Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array using alternative indexing semantics. ```javascript var Float64Array = require( '@stdlib/array/float64' ); @@ -209,7 +209,7 @@ console.log( idx ); #### stdlib_strided_dlast_index_equal( N, \*X, strideX, \*Y, strideY ) -Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array. +Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array. ```c const double x[] = { 1.0, 2.0, 3.0, 4.0 }; @@ -237,7 +237,7 @@ CBLAS_INT stdlib_strided_dlast_index_equal( const CBLAS_INT N, const double *X, -Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array using alternative indexing semantics. +Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array using alternative indexing semantics. ```c const double x[] = { 1.0, 2.0, 3.0, 4.0 }; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c index 879cf9f4a66c..20f41db6ba2e 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c @@ -111,6 +111,7 @@ static double benchmark1( int iterations, int len ) { idx = -1; t = tic(); for ( i = 0; i < iterations; i++ ) { + // cppcheck-suppress uninitvar idx = stdlib_strided_dlast_index_equal( len, x, 1, y, 1 ); if ( idx < -2 ) { printf( "unexpected result\n" ); @@ -150,6 +151,7 @@ static double benchmark2( int iterations, int len ) { idx = -1; t = tic(); for ( i = 0; i < iterations; i++ ) { + // cppcheck-suppress uninitvar idx = stdlib_strided_dlast_index_equal_ndarray( len, x, 1, 0, y, 1, 0 ); if ( idx < -2 ) { printf( "unexpected result\n" ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/include/stdlib/blas/ext/base/dlast_index_equal.h b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/include/stdlib/blas/ext/base/dlast_index_equal.h index 32bca1f80e5a..360e3b897834 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/include/stdlib/blas/ext/base/dlast_index_equal.h +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/include/stdlib/blas/ext/base/dlast_index_equal.h @@ -29,12 +29,12 @@ extern "C" { #endif /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array. */ CBLAS_INT API_SUFFIX(stdlib_strided_dlast_index_equal)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const double *Y, const CBLAS_INT strideY ); /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array using alternative indexing semantics. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array using alternative indexing semantics. */ CBLAS_INT API_SUFFIX(stdlib_strided_dlast_index_equal_ndarray)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, const double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/dlast_index_equal.native.js b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/dlast_index_equal.native.js index afcbfb628e1a..e38fce2ae890 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/dlast_index_equal.native.js +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/dlast_index_equal.native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array. * * @param {PositiveInteger} N - number of indexed elements * @param {Float64Array} x - first input array diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/index.js b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/index.js index 68d174fc61b3..bba6c8fddd2c 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/index.js +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Return the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array. +* Return the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array. * * @module @stdlib/blas/ext/base/dlast-index-equal * diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.js b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.js index 7e49c2af0fce..ac2e6451aa84 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.js +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.js @@ -26,7 +26,7 @@ var dfirstIndexEqual = require( '@stdlib/blas/ext/base/dfirst-index-equal' ).nda // MAIN // /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array using alternative indexing semantics. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array using alternative indexing semantics. * * @param {PositiveInteger} N - number of indexed elements * @param {Float64Array} x - first input array diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.native.js b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.native.js index 25e805c62d83..2fea6fda3ee4 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.native.js +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/lib/ndarray.native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array using alternative indexing semantics. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array using alternative indexing semantics. * * @param {PositiveInteger} N - number of indexed elements * @param {Float64Array} x - first input array diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/src/main.c b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/src/main.c index 28122344c0a6..2cc60d93547d 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/src/main.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/src/main.c @@ -22,7 +22,7 @@ #include "stdlib/blas/base/shared.h" /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array. * * @param N number of indexed elements * @param X first input array @@ -38,7 +38,7 @@ CBLAS_INT API_SUFFIX(stdlib_strided_dlast_index_equal)( const CBLAS_INT N, const } /** -* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another strided array using alternative indexing semantics. +* Returns the index of the last element in a double-precision floating-point strided array equal to a corresponding element in another double-precision floating-point strided array using alternative indexing semantics. * * @param N number of indexed elements * @param X first input array From 7f51cceb8cdcbb263ddf90861aa077cacfa9bfb7 Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 2 Aug 2026 13:12:25 -0700 Subject: [PATCH 3/4] Discard changes to lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md --- .../@stdlib/blas/ext/base/gcopy-within/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md b/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md index 89c16eb122f9..461e88b3c0e7 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/gcopy-within/README.md @@ -125,6 +125,7 @@ gcopyWithin.ndarray( 4, 2, 0, 2, x, 1, 2, w, 1, 0 ); - If the `start` and `target` index ranges do not overlap, the `workspace` array is unused and thus ignored. - Both functions **mutate** the provided input strided array. - Both functions support array-like objects having getter and setter accessors for array element access (e.g., [`@stdlib/array/base/accessor`][@stdlib/array/base/accessor]). +- Depending on the environment, the typed versions ([`dcopyWithin`][@stdlib/blas/ext/base/dcopy-within], [`scopyWithin`][@stdlib/blas/ext/base/scopy-within], etc.) are likely to be significantly more performant. @@ -173,6 +174,10 @@ console.log( x ); [@stdlib/array/base/accessor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/accessor +[@stdlib/blas/ext/base/dcopy-within]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/dcopy-within + +[@stdlib/blas/ext/base/scopy-within]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/scopy-within + From 694637041d824a62f95471cf8bcdff4ac8007c72 Mon Sep 17 00:00:00 2001 From: Athan Date: Sun, 2 Aug 2026 13:13:29 -0700 Subject: [PATCH 4/4] Discard changes to lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c --- .../ext/base/dlast-index-equal/benchmark/c/benchmark.length.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c index 20f41db6ba2e..879cf9f4a66c 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dlast-index-equal/benchmark/c/benchmark.length.c @@ -111,7 +111,6 @@ static double benchmark1( int iterations, int len ) { idx = -1; t = tic(); for ( i = 0; i < iterations; i++ ) { - // cppcheck-suppress uninitvar idx = stdlib_strided_dlast_index_equal( len, x, 1, y, 1 ); if ( idx < -2 ) { printf( "unexpected result\n" ); @@ -151,7 +150,6 @@ static double benchmark2( int iterations, int len ) { idx = -1; t = tic(); for ( i = 0; i < iterations; i++ ) { - // cppcheck-suppress uninitvar idx = stdlib_strided_dlast_index_equal_ndarray( len, x, 1, 0, y, 1, 0 ); if ( idx < -2 ) { printf( "unexpected result\n" );