Skip to content

Commit 09b3b04

Browse files
chore: update according to code 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: 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: passed - 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: passed - 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 83d2596 commit 09b3b04

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ The function has the following parameters:
116116
- **N**: number of indexed elements.
117117
- **correction**: degrees of freedom adjustment. Setting this parameter to a value other than `0` has the effect of adjusting the divisor during the calculation of the [variance][variance] according to `n-c` where `c` corresponds to the provided degrees of freedom adjustment and `n` corresponds to the number of non-`NaN` indexed elements. When computing the [variance][variance] of a population, setting this parameter to `0` is the standard choice (i.e., the provided array contains data constituting an entire population). When computing the unbiased sample [variance][variance], setting this parameter to `1` is the standard choice (i.e., the provided array contains data sampled from a larger population; this is commonly referred to as Bessel's correction).
118118
- **x**: input [`Float64Array`][@stdlib/array/float64].
119-
- **strideX**: index increment for `X`.
119+
- **strideX**: index increment for `x`.
120120

121-
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to compute the [variance][variance] of every other element in `X`,
121+
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to compute the [variance][variance] of every other element in `x`,
122122

123123
<!-- eslint-disable max-len -->
124124

@@ -162,7 +162,7 @@ var v = dnanvariancewd.ndarray( x.length, 1, x, 1, 0 );
162162

163163
The function has the following additional parameters:
164164

165-
- **offset**: starting index for `X`.
165+
- **offset**: starting index for `x`.
166166

167167
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index. For example, to calculate the [variance][variance] for every other element in `X` starting from the second element
168168

lib/node_modules/@stdlib/stats/base/dnanvariancewd/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var dnanvariancewd = require( './../lib/dnanvariancewd.js' );
3333
// FUNCTIONS //
3434

3535
/**
36-
* Returns a random value or `NaN`.
36+
* Returns a random number.
3737
*
3838
* @private
3939
* @returns {number} random number or `NaN`

lib/node_modules/@stdlib/stats/base/dnanvariancewd/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var opts = {
4242
// FUNCTIONS //
4343

4444
/**
45-
* Returns a random value or `NaN`.
45+
* Returns a random number.
4646
*
4747
* @private
4848
* @returns {number} random number or `NaN`

lib/node_modules/@stdlib/stats/base/dnanvariancewd/benchmark/benchmark.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var dnanvariancewd = require( './../lib/ndarray.js' );
3333
// FUNCTIONS //
3434

3535
/**
36-
* Returns a random value or `NaN`.
36+
* Returns a random number.
3737
*
3838
* @private
3939
* @returns {number} random number or `NaN`

lib/node_modules/@stdlib/stats/base/dnanvariancewd/benchmark/benchmark.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var opts = {
4242
// FUNCTIONS //
4343

4444
/**
45-
* Returns a random value or `NaN`.
45+
* Returns a random number.
4646
*
4747
* @private
4848
* @returns {number} random number or `NaN`

0 commit comments

Comments
 (0)