Skip to content

Commit 6d91a2a

Browse files
committed
remove: remove stdevyc from namespace
This commit removes the `stdevyc` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `stdevyc` 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 812bf10 commit 6d91a2a

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
@@ -58,7 +58,6 @@ import stdevch = require( '@stdlib/stats/base/stdevch' );
5858
import stdevpn = require( '@stdlib/stats/base/stdevpn' );
5959
import stdevtk = require( '@stdlib/stats/base/stdevtk' );
6060
import stdevwd = require( '@stdlib/stats/base/stdevwd' );
61-
import stdevyc = require( '@stdlib/stats/base/stdevyc' );
6261
import dmeankbn2 = require( '@stdlib/stats/strided/dmeankbn2' );
6362
import dmeanli = require( '@stdlib/stats/strided/dmeanli' );
6463
import dmeanlipw = require( '@stdlib/stats/strided/dmeanlipw' );
@@ -1006,29 +1005,6 @@ interface Namespace {
10061005
*/
10071006
stdevwd: typeof stdevwd;
10081007

1009-
/**
1010-
* Computes the standard deviation of a strided array using a one-pass algorithm proposed by Youngs and Cramer.
1011-
*
1012-
* @param N - number of indexed elements
1013-
* @param correction - degrees of freedom adjustment
1014-
* @param x - input array
1015-
* @param stride - stride length
1016-
* @returns standard deviation
1017-
*
1018-
* @example
1019-
* var x = [ 1.0, -2.0, 2.0 ];
1020-
*
1021-
* var v = ns.stdevyc( x.length, 1, x, 1 );
1022-
* // returns ~2.0817
1023-
*
1024-
* @example
1025-
* var x = [ 1.0, -2.0, 2.0 ];
1026-
*
1027-
* var v = ns.stdevyc.ndarray( x.length, 1, x, 1, 0 );
1028-
* // returns ~2.0817
1029-
*/
1030-
stdevyc: typeof stdevyc;
1031-
10321008
/**
10331009
* Computes the arithmetic mean of a double-precision floating-point strided array using a second-order iterative Kahan–Babuška algorithm.
10341010
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -387,15 +387,6 @@ setReadOnly( ns, 'stdevtk', require( '@stdlib/stats/base/stdevtk' ) );
387387
*/
388388
setReadOnly( ns, 'stdevwd', require( '@stdlib/stats/base/stdevwd' ) );
389389

390-
/**
391-
* @name stdevyc
392-
* @memberof ns
393-
* @readonly
394-
* @type {Function}
395-
* @see {@link module:@stdlib/stats/base/stdevyc}
396-
*/
397-
setReadOnly( ns, 'stdevyc', require( '@stdlib/stats/base/stdevyc' ) );
398-
399390
/**
400391
* @name dmeankbn2
401392
* @memberof ns

0 commit comments

Comments
 (0)