Skip to content

Commit 5a534f4

Browse files
committed
remove: remove nanstdevtk from namespace
This commit removes the `nanstdevtk` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `nanstdevtk` To migrate, users should access the same symbol via the `@stdlib/stats/strided` namespace. Ref: stdlib-js#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 9477dcd commit 5a534f4

2 files changed

Lines changed: 0 additions & 33 deletions

File tree

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
@@ -28,7 +28,6 @@ import dists = require( '@stdlib/stats/base/dists' );
2828
import nanstdev = require( '@stdlib/stats/base/nanstdev' );
2929
import nanstdevch = require( '@stdlib/stats/base/nanstdevch' );
3030
import nanstdevpn = require( '@stdlib/stats/base/nanstdevpn' );
31-
import nanstdevtk = require( '@stdlib/stats/base/nanstdevtk' );
3231
import sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
3332
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
3433
import snanmean = require( '@stdlib/stats/base/snanmean' );
@@ -241,29 +240,6 @@ interface Namespace {
241240
*/
242241
nanstdevpn: typeof nanstdevpn;
243242

244-
/**
245-
* Computes the standard deviation of a strided array ignoring `NaN` values and using a one-pass textbook algorithm.
246-
*
247-
* @param N - number of indexed elements
248-
* @param correction - degrees of freedom adjustment
249-
* @param x - input array
250-
* @param stride - stride length
251-
* @returns standard deviation
252-
*
253-
* @example
254-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
255-
*
256-
* var v = ns.nanstdevtk( x.length, 1, x, 1 );
257-
* // returns ~2.0817
258-
*
259-
* @example
260-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
261-
*
262-
* var v = ns.nanstdevtk.ndarray( x.length, 1, x, 1, 0 );
263-
* // returns ~2.0817
264-
*/
265-
nanstdevtk: typeof nanstdevtk;
266-
267243
/**
268244
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using extended accumulation.
269245
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,6 @@ setReadOnly( ns, 'nanstdevch', require( '@stdlib/stats/base/nanstdevch' ) );
108108
*/
109109
setReadOnly( ns, 'nanstdevpn', require( '@stdlib/stats/base/nanstdevpn' ) );
110110

111-
/**
112-
* @name nanstdevtk
113-
* @memberof ns
114-
* @readonly
115-
* @type {Function}
116-
* @see {@link module:@stdlib/stats/base/nanstdevtk}
117-
*/
118-
setReadOnly( ns, 'nanstdevtk', require( '@stdlib/stats/base/nanstdevtk' ) );
119-
120111
/**
121112
* @name ndarray
122113
* @memberof ns

0 commit comments

Comments
 (0)