Skip to content

Commit d898599

Browse files
committed
remove: remove stdevpn from namespace
This commit removes the `stdevpn` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `stdevpn` 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 36934e8 commit d898599

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
@@ -55,7 +55,6 @@ import snanvarianceyc = require( '@stdlib/stats/base/snanvarianceyc' );
5555
import sstdevwd = require( '@stdlib/stats/base/sstdevwd' );
5656
import stdev = require( '@stdlib/stats/base/stdev' );
5757
import stdevch = require( '@stdlib/stats/base/stdevch' );
58-
import stdevpn = require( '@stdlib/stats/base/stdevpn' );
5958
import dmeankbn2 = require( '@stdlib/stats/strided/dmeankbn2' );
6059
import dmeanli = require( '@stdlib/stats/strided/dmeanli' );
6160
import dmeanlipw = require( '@stdlib/stats/strided/dmeanlipw' );
@@ -934,29 +933,6 @@ interface Namespace {
934933
*/
935934
stdevch: typeof stdevch;
936935

937-
/**
938-
* Computes the standard deviation of a strided array using a two-pass algorithm.
939-
*
940-
* @param N - number of indexed elements
941-
* @param correction - degrees of freedom adjustment
942-
* @param x - input array
943-
* @param stride - stride length
944-
* @returns standard deviation
945-
*
946-
* @example
947-
* var x = [ 1.0, -2.0, 2.0 ];
948-
*
949-
* var v = ns.stdevpn( x.length, 1, x, 1 );
950-
* // returns ~2.0817
951-
*
952-
* @example
953-
* var x = [ 1.0, -2.0, 2.0 ];
954-
*
955-
* var v = ns.stdevpn.ndarray( x.length, 1, x, 1, 0 );
956-
* // returns ~2.0817
957-
*/
958-
stdevpn: typeof stdevpn;
959-
960936
/**
961937
* Computes the arithmetic mean of a double-precision floating-point strided array using a second-order iterative Kahan–Babuška algorithm.
962938
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -360,15 +360,6 @@ setReadOnly( ns, 'stdev', require( '@stdlib/stats/base/stdev' ) );
360360
*/
361361
setReadOnly( ns, 'stdevch', require( '@stdlib/stats/base/stdevch' ) );
362362

363-
/**
364-
* @name stdevpn
365-
* @memberof ns
366-
* @readonly
367-
* @type {Function}
368-
* @see {@link module:@stdlib/stats/base/stdevpn}
369-
*/
370-
setReadOnly( ns, 'stdevpn', require( '@stdlib/stats/base/stdevpn' ) );
371-
372363
/**
373364
* @name dmeankbn2
374365
* @memberof ns

0 commit comments

Comments
 (0)