Skip to content

Commit 6a8c48b

Browse files
authored
docs: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 7a27dd2 commit 6a8c48b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ console.log( y );
198198

199199
#### stdlib_strided_scusumpw( N, sum, \*X, strideX, \*Y, strideY )
200200

201-
Computes the cumulative sum of single-precision floating-point strided array elements using pariwise summation.
201+
Computes the cumulative sum of single-precision floating-point strided array elements using pairwise summation.
202202

203203
```c
204204
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f }
@@ -226,7 +226,7 @@ void stdlib_strided_scusumpw( const CBLAS_INT N, const float sum, const float *X
226226

227227
<!-- lint enable maximum-heading-length -->
228228

229-
Computes the cumulative sum of single-precision floating-point strided array elements using pariwise summation and alternative indexing semantics.
229+
Computes the cumulative sum of single-precision floating-point strided array elements using pairwise summation and alternative indexing semantics.
230230

231231
```c
232232
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f }

lib/node_modules/@stdlib/blas/ext/base/scusumpw/include/stdlib/blas/ext/base/scusumpw.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ extern "C" {
2929
#endif
3030

3131
/**
32-
* Computes the cumulative sum of single-precision floating-point strided array elements using pariwise summation.
32+
* Computes the cumulative sum of single-precision floating-point strided array elements using pairwise summation.
3333
*/
3434
void API_SUFFIX(stdlib_strided_scusumpw)( const CBLAS_INT N, const float sum, const float *X, const CBLAS_INT strideX, float *Y, const CBLAS_INT strideY );
3535

3636
/**
37-
* Computes the cumulative sum of single-precision floating-point strided array elements using pariwise summation and alternative indexing semantics.
37+
* Computes the cumulative sum of single-precision floating-point strided array elements using pairwise summation and alternative indexing semantics.
3838
*/
3939
void API_SUFFIX(stdlib_strided_scusumpw_ndarray)( const CBLAS_INT N, const float sum, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, float *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY );
4040

0 commit comments

Comments
 (0)