Skip to content

Commit ef6284c

Browse files
committed
chore: update documentation for nanmeanwd
--- 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: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 064e1d2 commit ef6284c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Computes the arithmetic mean of a strided array, ignoring `NaN` values and
44
using Welford's algorithm.
55

6-
The `N` and `stride` parameters determine which elements in the strided
7-
array are accessed at runtime.
6+
The `N` and stride parameters determine which elements in the strided array
7+
are accessed at runtime.
88

99
Indexing is relative to the first index. To introduce an offset, use a typed
1010
array view.
@@ -36,7 +36,7 @@
3636
> {{alias}}( x.length, x, 1 )
3737
~0.3333
3838

39-
// Using `N` and `stride` parameters:
39+
// Using `N` and stride parameters:
4040
> x = [ -2.0, 1.0, 1.0, -5.0, 2.0, -1.0, NaN ];
4141
> {{alias}}( 4, x, 2 )
4242
~0.3333
@@ -83,7 +83,7 @@
8383
~0.3333
8484

8585
// Using offset parameter:
86-
> var x = [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0, NaN, NaN ];
86+
> x = [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0, NaN, NaN ];
8787
> {{alias}}.ndarray( 4, x, 2, 1 )
8888
~-0.3333
8989

lib/node_modules/@stdlib/stats/base/nanmeanwd/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ interface Routine {
5252
*
5353
* @param N - number of indexed elements
5454
* @param x - input array
55-
* @param stride - stride length
56-
* @param offset - starting index
55+
* @param strideX - stride length
56+
* @param offsetX - starting index
5757
* @returns arithmetic mean
5858
*
5959
* @example

0 commit comments

Comments
 (0)