Skip to content

Commit 755b053

Browse files
authored
docs: add missing header in blas/ext/base/dsnannsumors
PR-URL: #3263 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 28db4f2 commit 755b053

File tree

1 file changed

+4
-0
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/dsnannsumors

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ console.log( out );
202202
Computes the sum of single-precision floating-point strided array elements, ignoring `NaN` values, using ordinary recursive summation with extended accumulation, and returning an extended precision result.
203203

204204
```c
205+
#include "stdlib/blas/base/shared.h"
206+
205207
const float x[] = { 1.0f, -2.0f, 0.0f/0.0f, 2.0f };
206208
CBLAS_INT n = 0;
207209

@@ -225,6 +227,8 @@ double stdlib_strided_dsnannsumors( const CBLAS_INT N, const float *X, const CBL
225227
Computes the sum of single-precision floating-point strided array elements, ignoring `NaN` values, using ordinary recursive summation with extended accumulation and alternative indexing semantics, and returning an extended precision result.
226228

227229
```c
230+
#include "stdlib/blas/base/shared.h"
231+
228232
const float x[] = { 1.0f, -2.0f, 0.0f/0.0f, 2.0f };
229233
CBLAS_INT n = 0;
230234

0 commit comments

Comments
 (0)