Skip to content

Commit 6b9e000

Browse files
fix: changed wrapping and more
--- 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: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - 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 ---
1 parent f6ef0cb commit 6b9e000

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Computes the variance of a strided array ignoring `NaN` values and using a
44
one-pass textbook algorithm.
55

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

99
Indexing is relative to the first index. To introduce an offset, use a typed
1010
array view.

lib/node_modules/@stdlib/stats/base/nanvariancetk/lib/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ var ndarray = require( './ndarray.js' );
3737
*
3838
* @example
3939
* var x = [ 1.0, -2.0, NaN, 2.0 ];
40-
* var N = x.length;
4140
*
42-
* var v = nanvariancetk( N, 1, x, 1 );
41+
* var v = nanvariancetk( 4, 1, x, 1 );
4342
* // returns ~4.3333
4443
*/
4544
function nanvariancetk( N, correction, x, strideX ) {

lib/node_modules/@stdlib/stats/base/nanvariancetk/test/test.main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tape( 'the function has an arity of 4', function test( t ) {
4040
t.end();
4141
});
4242

43-
tape( 'the function calculates the population variance of a strided array (ignoring `NaN` values)', function test( t ) {
43+
tape( 'the function calculates the population variance of a strided array', function test( t ) {
4444
var x;
4545
var v;
4646
var i;
@@ -94,7 +94,7 @@ tape( 'the function calculates the population variance of a strided array (ignor
9494
t.end();
9595
});
9696

97-
tape( 'the function calculates the population variance of a strided array (ignoring `NaN` values) (accessors)', function test( t ) {
97+
tape( 'the function calculates the population variance of a strided array (accessors)', function test( t ) {
9898
var x;
9999
var v;
100100
var i;
@@ -148,7 +148,7 @@ tape( 'the function calculates the population variance of a strided array (ignor
148148
t.end();
149149
});
150150

151-
tape( 'the function calculates the sample variance of a strided array (ignoring `NaN` values)', function test( t ) {
151+
tape( 'the function calculates the sample variance of a strided array', function test( t ) {
152152
var x;
153153
var v;
154154
var i;
@@ -202,7 +202,7 @@ tape( 'the function calculates the sample variance of a strided array (ignoring
202202
t.end();
203203
});
204204

205-
tape( 'the function calculates the sample variance of a strided array (ignoring `NaN` values) (accessors)', function test( t ) {
205+
tape( 'the function calculates the sample variance of a strided array (accessors)', function test( t ) {
206206
var x;
207207
var v;
208208
var i;

lib/node_modules/@stdlib/stats/base/nanvariancetk/test/test.ndarray.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tape( 'the function has an arity of 5', function test( t ) {
3939
t.end();
4040
});
4141

42-
tape( 'the function calculates the population variance of a strided array (ignoring `NaN` values)', function test( t ) {
42+
tape( 'the function calculates the population variance of a strided array', function test( t ) {
4343
var x;
4444
var v;
4545
var i;
@@ -93,7 +93,7 @@ tape( 'the function calculates the population variance of a strided array (ignor
9393
t.end();
9494
});
9595

96-
tape( 'the function calculates the population variance of a strided array (ignoring `NaN` values) (accessors)', function test( t ) {
96+
tape( 'the function calculates the population variance of a strided array (accessors)', function test( t ) {
9797
var x;
9898
var v;
9999
var i;
@@ -147,7 +147,7 @@ tape( 'the function calculates the population variance of a strided array (ignor
147147
t.end();
148148
});
149149

150-
tape( 'the function calculates the sample variance of a strided array (ignoring `NaN` values)', function test( t ) {
150+
tape( 'the function calculates the sample variance of a strided array', function test( t ) {
151151
var x;
152152
var v;
153153
var i;
@@ -201,7 +201,7 @@ tape( 'the function calculates the sample variance of a strided array (ignoring
201201
t.end();
202202
});
203203

204-
tape( 'the function calculates the sample variance of a strided array (ignoring `NaN` values) (accessors)', function test( t ) {
204+
tape( 'the function calculates the sample variance of a strided array (accessors)', function test( t ) {
205205
var x;
206206
var v;
207207
var i;

0 commit comments

Comments
 (0)