Skip to content

Commit f3e73e2

Browse files
committed
fix: apply code review suggestions
1 parent 6fad22a commit f3e73e2

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ The function has the following parameters:
5454

5555
- **N**: number of indexed elements.
5656
- **x**: input [`Float64Array`][@stdlib/array/float64].
57-
- **strideX**: index increment for the strided array.
57+
- **strideX**: stride length for the strided array.
5858
- **out**: output [`Float64Array`][@stdlib/array/float64] whose first element is the sum and whose second element is the number of non-NaN elements.
59-
- **strideOut**: index increment for `out`.
59+
- **strideOut**: stride length for `out`.
6060

6161
The `N` and stride parameters determine which elements are accessed at runtime. For example, to compute the sum of every other element in the strided array,
6262

@@ -207,7 +207,7 @@ The function accepts the following arguments:
207207
208208
- **N**: `[in] CBLAS_INT` number of indexed elements.
209209
- **X**: `[in] double*` input array.
210-
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
210+
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
211211
- **n**: `[out] CBLAS_INT*` number of non-NaN elements.
212212
213213
```c
@@ -230,7 +230,7 @@ The function accepts the following arguments:
230230
231231
- **N**: `[in] CBLAS_INT` number of indexed elements.
232232
- **X**: `[in] double*` input array.
233-
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
233+
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
234234
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
235235
- **n**: `[out] CBLAS_INT*` number of non-NaN elements.
236236

lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/docs/repl.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
Input array.
2121

2222
strideX: integer
23-
Index increment for the strided array.
23+
Stride length for the strided array.
2424

2525
out: Float64Array
2626
Output array.
2727

2828
strideOut: integer
29-
Index increment for `out`.
29+
Stride length for `out`.
3030

3131
Returns
3232
-------
@@ -74,7 +74,7 @@
7474
Input array.
7575

7676
strideX: integer
77-
Index increment for the strided array.
77+
Stride length for the strided array.
7878

7979
offsetX: integer
8080
Starting index for the strided array.
@@ -83,7 +83,7 @@
8383
Output array.
8484

8585
strideOut: integer
86-
Index increment for `out`.
86+
Stride length for `out`.
8787

8888
offsetOut: integer
8989
Starting index for `out`.

lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/lib/ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ var sumpw = require( './sumpw.js' );
3838
*
3939
* @param {PositiveInteger} N - number of indexed elements
4040
* @param {Float64Array} x - input array
41-
* @param {integer} strideX - `x` index increment
41+
* @param {integer} strideX - `x` stride length
4242
* @param {NonNegativeInteger} offsetX - `x` starting index
4343
* @param {Float64Array} out - output array
44-
* @param {integer} strideOut - `out` index increment
44+
* @param {integer} strideOut - `out` stride length
4545
* @param {NonNegativeInteger} offsetOut - `out` starting index
4646
* @returns {Float64Array} output array
4747
*

lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/lib/ndarray.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ var addon = require( './../src/addon.node' );
3030
*
3131
* @param {PositiveInteger} N - number of indexed elements
3232
* @param {Float64Array} x - input array
33-
* @param {integer} strideX - `x` index increment
33+
* @param {integer} strideX - `x` stride length
3434
* @param {NonNegativeInteger} offsetX - `x` starting index
3535
* @param {Float64Array} out - output array
36-
* @param {integer} strideOut - `out` index increment
36+
* @param {integer} strideOut - `out` stride length
3737
* @param {NonNegativeInteger} offsetOut - `out` starting index
3838
* @returns {Float64Array} output array
3939
*

lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @param N number of indexed elements
2828
* @param X input array
29-
* @param strideX index increment
29+
* @param strideX stride length
3030
* @param offsetX starting index
3131
* @param n number of non-NaN elements
3232
* @return output value
@@ -201,7 +201,7 @@ double API_SUFFIX(stdlib_strided_dnannsumpw)( const CBLAS_INT N, const double *X
201201
*
202202
* @param N number of indexed elements
203203
* @param X input array
204-
* @param strideX index increment
204+
* @param strideX stride length
205205
* @param offsetX starting index
206206
* @param n number of non-NaN elements
207207
* @return output value

0 commit comments

Comments
 (0)