Skip to content

Commit

Permalink
fix: apply code review suggesetion
Browse files Browse the repository at this point in the history
  • Loading branch information
headlessNode committed Oct 20, 2024
1 parent 600aecb commit 9e35394
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/blas/ext/base/dnansumkbn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The function has the following parameters:

- **N**: number of indexed elements.
- **x**: input [`Float64Array`][@stdlib/array/float64].
- **strideX**: index increment for `x`.
- **strideX**: stride length for `x`.

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

Expand Down Expand Up @@ -193,7 +193,7 @@ The function accepts the following arguments:
- **N**: `[in] CBLAS_INT` number of indexed elements.
- **X**: `[in] double*` input array.
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
```c
double stdlib_strided_dnansumkbn( const CBLAS_INT N, const double *X, const CBLAS_INT strideX );
Expand All @@ -214,7 +214,7 @@ The function accepts the following arguments:
- **N**: `[in] CBLAS_INT` number of indexed elements.
- **X**: `[in] double*` input array.
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
```c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Input array.

strideX: integer
Index increment.
Stride length.

Returns
-------
Expand Down Expand Up @@ -64,7 +64,7 @@
Input array.

strideX: integer
Index increment.
Stride length.

offsetX: integer
Starting index.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var abs = require( '@stdlib/math/base/special/abs' );
*
* @param {PositiveInteger} N - number of indexed elements
* @param {Float64Array} x - input array
* @param {integer} strideX - index increment
* @param {integer} strideX - stride length
* @param {NonNegativeInteger} offsetX - starting index
* @returns {number} sum
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var addon = require( './../src/addon.node' );
*
* @param {PositiveInteger} N - number of indexed elements
* @param {Float64Array} x - input array
* @param {integer} strideX - index increment
* @param {integer} strideX - stride length
* @param {NonNegativeInteger} offsetX - starting index
* @returns {number} sum
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ double API_SUFFIX(stdlib_strided_dnansumkbn)( const CBLAS_INT N, const double *X
*
* @param N number of indexed elements
* @param X input array
* @param strideX index increment
* @param strideX stride length
* @param offsetX starting index
* @return output value
*/
Expand Down

0 comments on commit 9e35394

Please sign in to comment.