From 2a80103582cd16d5319334878297f6cd74296487 Mon Sep 17 00:00:00 2001 From: JoyBoy <144602492+0PrashantYadav0@users.noreply.github.com> Date: Mon, 13 Jan 2025 20:10:15 +0530 Subject: [PATCH] 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 --- --- .../@stdlib/stats/base/dvariancepn/README.md | 12 ++++++------ .../@stdlib/stats/base/dvariancepn/docs/repl.txt | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dvariancepn/README.md b/lib/node_modules/@stdlib/stats/base/dvariancepn/README.md index 9dd4624dced..a1acfa4d199 100644 --- a/lib/node_modules/@stdlib/stats/base/dvariancepn/README.md +++ b/lib/node_modules/@stdlib/stats/base/dvariancepn/README.md @@ -240,10 +240,10 @@ console.log( v ); Computes the [variance][variance] of a double-precision floating-point strided array using a two-pass algorithm. ```c -const double x[] = { 1.0, -2.0, 2.0 }; +const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 } -double v = stdlib_strided_dvariancepn( 3, 1.0, x, 1 ); -// returns ~4.3333 +double v = stdlib_strided_dvariancepn( 4, 1.0, x, 1, 0 ); +// returns ~6.666667 ``` The function accepts the following arguments: @@ -262,10 +262,10 @@ double stdlib_strided_dvariancepn( const CBLAS_INT N, const double correction, c Computes the [variance][variance] of a double-precision floating-point strided array using a two-pass algorithm and alternative indexing semantics. ```c -const double x[] = { 1.0, -2.0, 2.0 }; +const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 } -double v = stdlib_strided_dvariancepn_ndarray( 3, 1.0, x, 1, 0 ); -// returns ~4.3333 +double v = stdlib_strided_dvariancepn_ndarray( 4, 1.0, x, 1, 0 ); +// returns ~6.666667 ``` The function accepts the following arguments: diff --git a/lib/node_modules/@stdlib/stats/base/dvariancepn/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/dvariancepn/docs/repl.txt index b8df14ab910..1113261afeb 100644 --- a/lib/node_modules/@stdlib/stats/base/dvariancepn/docs/repl.txt +++ b/lib/node_modules/@stdlib/stats/base/dvariancepn/docs/repl.txt @@ -32,7 +32,7 @@ Input array. strideX: integer - Stride Length. + Stride length. Returns ------- @@ -87,7 +87,7 @@ Input array. strideX: integer - Stride Length. + Stride length. offsetX: integer Starting index.