Skip to content

Commit 117c9d1

Browse files
committed
chore: fixing readme
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent a5e744b commit 117c9d1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • lib/node_modules/@stdlib/stats/strided/dnancount

lib/node_modules/@stdlib/stats/strided/dnancount/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,18 +198,18 @@ CBLAS_INT stdlib_strided_dnancount( const CBLAS_INT N, const double *X, const CB
198198
Computes the number of non-`NaN` elements in a double-precision floating-point strided array using alternative indexing semantics.
199199

200200
```c
201-
CBLAS_INT stdlib_strided_dnancount_ndarray( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
201+
const double x[] = { 2.0, 1.0, NaN, -2.0, 3.0, 4.0, NaN, NaN };
202+
203+
CBLAS_INT v = stdlib_strided_dnancount_ndarray( 4, x, 2, 1 );
204+
// returns 3
202205
```
203206
204207
The function accepts the following additional argument:
205208
206209
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
207210
208211
```c
209-
const double x[] = { 2.0, 1.0, NaN, -2.0, 3.0, 4.0, NaN, NaN };
210-
211-
CBLAS_INT v = stdlib_strided_dnancount_ndarray( 4, x, 2, 1 );
212-
// returns 3
212+
CBLAS_INT stdlib_strided_dnancount_ndarray( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
213213
```
214214

215215
</section>

0 commit comments

Comments
 (0)