From 16e536426ff36ee5c4863dafe85dab08981bc3ac Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Jul 2026 12:30:58 +0000 Subject: [PATCH 1/4] docs: correct `@throws` phrasing in `stats/incr/nancv` Aligns the JSDoc `@throws` tag with the wrapped `incrcv` accumulator and the parallel `nanvariance` package, which both document the guard as "must provide a number primitive". --- lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js b/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js index 0b38b1ff219b..1801aa453f2c 100644 --- a/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js +++ b/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js @@ -30,7 +30,7 @@ var incrcv = require( '@stdlib/stats/incr/cv' ); * Returns an accumulator function which incrementally computes the coefficient of variation (CV), ignoring `NaN` values. * * @param {number} [mean] - mean value -* @throws {TypeError} must provide a number +* @throws {TypeError} must provide a number primitive * @returns {Function} accumulator function * * @example From ba37c06f1d7de19c9b05f9dc496ffbd8b7c0014a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Jul 2026 12:31:04 +0000 Subject: [PATCH 2/4] docs: remove unused lint suppressions in `blas/ext/base/gfirst-index-less-than` The `.ndarray()` subheading (79 characters) is under the 80-character limit and the offset-indexing example line is also within the eslint `max-len` threshold, so the `lint disable maximum-heading-length` and `eslint-disable max-len` comments are unnecessary. Matches the README structure of the sibling `gfirst-index-equal` and `gfirst-index-not-equal` packages. --- .../@stdlib/blas/ext/base/gfirst-index-less-than/README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/gfirst-index-less-than/README.md b/lib/node_modules/@stdlib/blas/ext/base/gfirst-index-less-than/README.md index 9e6357950fa0..faa848dfae6e 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gfirst-index-less-than/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/gfirst-index-less-than/README.md @@ -98,12 +98,8 @@ var idx = gfirstIndexLessThan( 2, x1, 1, y1, 1 ); // returns 1 ``` - - #### gfirstIndexLessThan.ndarray( N, x, strideX, offsetX, y, strideY, offsetY ) - - Returns the index of the first element in a strided array which is less than a corresponding element in another strided array using alternative indexing semantics. ```javascript @@ -121,8 +117,6 @@ The function has the following additional parameters: While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to access only the last three elements of each strided array: - - ```javascript var x = [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ]; var y = [ 9.0, 9.0, 9.0, 0.0, 9.0, 9.0 ]; From 9e6d67c193b2a90457bb6c31e56abd5ef0ab018a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Jul 2026 12:31:15 +0000 Subject: [PATCH 3/4] style: add missing whitespace inside parentheses in `fft/base/fftpack/sinti` examples The `floor( 5*N/2 )` call in the trailing `workspace.slice` example appeared without interior spacing, sitting next to a correctly-spaced `floor( 5*N/2 )` call on the same line. Applied to `lib/main.js`, `lib/index.js`, `README.md`, and `docs/types/index.d.ts` so all four copies of the example match the stdlib whitespace convention. --- lib/node_modules/@stdlib/fft/base/fftpack/sinti/README.md | 2 +- .../@stdlib/fft/base/fftpack/sinti/docs/types/index.d.ts | 2 +- lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/index.js | 2 +- lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/main.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/README.md b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/README.md index 456ca6376d16..3b63a5e9b1a6 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/README.md +++ b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/README.md @@ -63,7 +63,7 @@ var sineTable = workspace.slice( 0, floor( N/2 ) ); var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 ); // returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ] -var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 ); +var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 ); // returns [ 8, 2, 2, 4 ] ``` diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/docs/types/index.d.ts b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/docs/types/index.d.ts index e728169090df..58cd8e06ba3d 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/docs/types/index.d.ts @@ -54,7 +54,7 @@ import { Collection } from '@stdlib/types/array'; * var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 ); * // returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ] * -* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 ); +* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 ); * // returns [ 8, 2, 2, 4 ] */ declare function sinti>( N: number, workspace: T, strideW: number, offsetW: number ): T; diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/index.js b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/index.js index a5d299466f1d..409ddc984fe1 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/index.js +++ b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/index.js @@ -43,7 +43,7 @@ * var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 ); * // returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ] * -* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 ); +* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 ); * // returns [ 8, 2, 2, 4 ] */ diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/main.js b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/main.js index 996bea9a1f79..45262315d789 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/main.js +++ b/lib/node_modules/@stdlib/fft/base/fftpack/sinti/lib/main.js @@ -157,7 +157,7 @@ var rffti = require( '@stdlib/fft/base/fftpack/rffti' ); * var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 ); * // returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ] * -* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 ); +* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 ); * // returns [ 8, 2, 2, 4 ] */ function sinti( N, workspace, strideW, offsetW ) { From 5cb64f00acaf6fba3506fd67791f88eec284d270 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 7 Jul 2026 14:22:22 -0700 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Athan Signed-off-by: Athan --- lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js b/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js index 1801aa453f2c..0b38b1ff219b 100644 --- a/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js +++ b/lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js @@ -30,7 +30,7 @@ var incrcv = require( '@stdlib/stats/incr/cv' ); * Returns an accumulator function which incrementally computes the coefficient of variation (CV), ignoring `NaN` values. * * @param {number} [mean] - mean value -* @throws {TypeError} must provide a number primitive +* @throws {TypeError} must provide a number * @returns {Function} accumulator function * * @example