Skip to content

Commit a93f70b

Browse files
fix: fix lint error and import statements
--- 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: 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 ---
1 parent 2a6acfe commit a93f70b

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

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

Lines changed: 3 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
-------
@@ -57,6 +57,7 @@
5757
> {{alias}}( 3, 1, x1, 2 )
5858
~2.0817
5959

60+
6061
{{alias}}.ndarray( N, correction, x, strideX, offsetX )
6162
Computes the standard deviation of a double-precision floating-point strided
6263
array using alternative indexing semantics.
@@ -86,7 +87,7 @@
8687
Input array.
8788

8889
strideX: integer
89-
Stride Length.
90+
Stride length.
9091

9192
offsetX: integer
9293
Starting index.

lib/node_modules/@stdlib/stats/base/dstdev/lib/dstdev.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var addon = require( './../src/addon.node' );
3838
* var Float64Array = require( '@stdlib/array/float64' );
3939
*
4040
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
41-
* var v = dsemwd( x.length, 1, x, 1 );
41+
* var v = dstdev( x.length, 1, x, 1 );
4242
* // returns ~2.0817
4343
*/
4444
function dstdev( N, correction, x, strideX ) {

lib/node_modules/@stdlib/stats/base/dstdev/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* var dstdev = require( '@stdlib/stats/base/dstdev' );
2929
*
3030
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
31-
* var v = dsemwd( x.length, 1, x, 1 );
31+
* var v = dstdev( x.length, 1, x, 1 );
3232
* // returns ~2.0817
3333
*
3434
* @example
@@ -37,7 +37,7 @@
3737
* var dstdev = require( '@stdlib/stats/base/dstdev' );
3838
*
3939
* var x = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0 ] );
40-
* var v = dsemwd.ndarray( 4, 1, x, 2, 1 );
40+
* var v = dstdev.ndarray( 4, 1, x, 2, 1 );
4141
* // returns 2.5
4242
*/
4343

lib/node_modules/@stdlib/stats/base/dstdev/lib/ndarray.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121
// MODULES //
2222

23-
var dvariancewd = require( '@stdlib/stats/base/dvariancewd' ).ndarray;
24-
var sqrt = require( '@stdlib/math/base/special/sqrt' );
23+
var dstdevpn = require( '@stdlib/stats/base/dstdevpn' ).ndarray;
2524

2625

2726
// MAIN //
@@ -40,11 +39,11 @@ var sqrt = require( '@stdlib/math/base/special/sqrt' );
4039
* var Float64Array = require( '@stdlib/array/float64' );
4140
*
4241
* var x = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0 ] );
43-
* var v = dsemwd( 4, 1, x, 2, 1 );
42+
* var v = dstdev( 4, 1, x, 2, 1 );
4443
* // returns 2.5
4544
*/
4645
function dstdev( N, correction, x, strideX, offsetX ) {
47-
return sqrt( dvariancewd( N, correction, x, strideX, offsetX ) / N );
46+
return dstdevpn( N, correction, x, strideX, offsetX );
4847
}
4948

5049

lib/node_modules/@stdlib/stats/base/dstdev/lib/ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var addon = require( './../src/addon.node' );
3939
* var Float64Array = require( '@stdlib/array/float64' );
4040
*
4141
* var x = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0 ] );
42-
* var v = dsemwd( 4, 1, x, 2, 1 );
42+
* var v = dstdev( 4, 1, x, 2, 1 );
4343
* // returns 2.5
4444
*/
4545
function dstdev( N, correction, x, strideX, offsetX ) {

lib/node_modules/@stdlib/stats/base/dstdev/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"dependencies": [
8181
"@stdlib/blas/base/shared",
8282
"@stdlib/strided/base/stride2offset",
83-
"@stdlib/stats/base/dvariancewd"
83+
"@stdlib/stats/base/dstdevpn"
8484
]
8585
},
8686
{

0 commit comments

Comments
 (0)