Skip to content

Commit ae9e5fd

Browse files
committed
remove: remove stdevwd from namespace
This commit removes the `stdevwd` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `stdevwd` To migrate, users should access the same symbol via the `@stdlib/stats/strided` namespace. Ref: #4797 --- 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: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 706e9ad commit ae9e5fd

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ import stdev = require( '@stdlib/stats/base/stdev' );
5757
import stdevch = require( '@stdlib/stats/base/stdevch' );
5858
import stdevpn = require( '@stdlib/stats/base/stdevpn' );
5959
import stdevtk = require( '@stdlib/stats/base/stdevtk' );
60-
import stdevwd = require( '@stdlib/stats/base/stdevwd' );
6160
import dmeankbn2 = require( '@stdlib/stats/strided/dmeankbn2' );
6261
import dmeanli = require( '@stdlib/stats/strided/dmeanli' );
6362
import dmeanlipw = require( '@stdlib/stats/strided/dmeanlipw' );
@@ -982,29 +981,6 @@ interface Namespace {
982981
*/
983982
stdevtk: typeof stdevtk;
984983

985-
/**
986-
* Computes the standard deviation of a strided array using Welford's algorithm.
987-
*
988-
* @param N - number of indexed elements
989-
* @param correction - degrees of freedom adjustment
990-
* @param x - input array
991-
* @param stride - stride length
992-
* @returns standard deviation
993-
*
994-
* @example
995-
* var x = [ 1.0, -2.0, 2.0 ];
996-
*
997-
* var v = ns.stdevwd( x.length, 1, x, 1 );
998-
* // returns ~2.0817
999-
*
1000-
* @example
1001-
* var x = [ 1.0, -2.0, 2.0 ];
1002-
*
1003-
* var v = ns.stdevwd.ndarray( x.length, 1, x, 1, 0 );
1004-
* // returns ~2.0817
1005-
*/
1006-
stdevwd: typeof stdevwd;
1007-
1008984
/**
1009985
* Computes the arithmetic mean of a double-precision floating-point strided array using a second-order iterative Kahan–Babuška algorithm.
1010986
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -378,15 +378,6 @@ setReadOnly( ns, 'stdevpn', require( '@stdlib/stats/base/stdevpn' ) );
378378
*/
379379
setReadOnly( ns, 'stdevtk', require( '@stdlib/stats/base/stdevtk' ) );
380380

381-
/**
382-
* @name stdevwd
383-
* @memberof ns
384-
* @readonly
385-
* @type {Function}
386-
* @see {@link module:@stdlib/stats/base/stdevwd}
387-
*/
388-
setReadOnly( ns, 'stdevwd', require( '@stdlib/stats/base/stdevwd' ) );
389-
390381
/**
391382
* @name dmeankbn2
392383
* @memberof ns

0 commit comments

Comments
 (0)