Skip to content

Commit 2a80103

Browse files
chore: updated values as per given review
--- 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: passed - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 2c1b610 commit 2a80103

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/node_modules/@stdlib/stats/base/dvariancepn/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ console.log( v );
240240
Computes the [variance][variance] of a double-precision floating-point strided array using a two-pass algorithm.
241241

242242
```c
243-
const double x[] = { 1.0, -2.0, 2.0 };
243+
const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }
244244

245-
double v = stdlib_strided_dvariancepn( 3, 1.0, x, 1 );
246-
// returns ~4.3333
245+
double v = stdlib_strided_dvariancepn( 4, 1.0, x, 1, 0 );
246+
// returns ~6.666667
247247
```
248248
249249
The function accepts the following arguments:
@@ -262,10 +262,10 @@ double stdlib_strided_dvariancepn( const CBLAS_INT N, const double correction, c
262262
Computes the [variance][variance] of a double-precision floating-point strided array using a two-pass algorithm and alternative indexing semantics.
263263

264264
```c
265-
const double x[] = { 1.0, -2.0, 2.0 };
265+
const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }
266266

267-
double v = stdlib_strided_dvariancepn_ndarray( 3, 1.0, x, 1, 0 );
268-
// returns ~4.3333
267+
double v = stdlib_strided_dvariancepn_ndarray( 4, 1.0, x, 1, 0 );
268+
// returns ~6.666667
269269
```
270270
271271
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dvariancepn/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
Input array.
3333

3434
strideX: integer
35-
Stride Length.
35+
Stride length.
3636

3737
Returns
3838
-------
@@ -87,7 +87,7 @@
8787
Input array.
8888

8989
strideX: integer
90-
Stride Length.
90+
Stride length.
9191

9292
offsetX: integer
9393
Starting index.

0 commit comments

Comments
 (0)