Skip to content

Commit fcb734e

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

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import dists = require( '@stdlib/stats/base/dists' );
2828
import nanmean = require( '@stdlib/stats/base/nanmean' );
2929
import nanmeanors = require( '@stdlib/stats/base/nanmeanors' );
3030
import nanmeanpn = require( '@stdlib/stats/base/nanmeanpn' );
31-
import nanmeanwd = require( '@stdlib/stats/base/nanmeanwd' );
3231
import nanmskmax = require( '@stdlib/stats/base/nanmskmax' );
3332
import nanmskmin = require( '@stdlib/stats/base/nanmskmin' );
3433
import nanmskrange = require( '@stdlib/stats/base/nanmskrange' );
@@ -273,28 +272,6 @@ interface Namespace {
273272
*/
274273
nanmeanpn: typeof nanmeanpn;
275274

276-
/**
277-
* Computes the arithmetic mean of a strided array, ignoring `NaN` values and using Welford's algorithm.
278-
*
279-
* @param N - number of indexed elements
280-
* @param x - input array
281-
* @param stride - stride length
282-
* @returns arithmetic mean
283-
*
284-
* @example
285-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
286-
*
287-
* var v = ns.nanmeanwd( x.length, x, 1 );
288-
* // returns ~0.3333
289-
*
290-
* @example
291-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
292-
*
293-
* var v = ns.nanmeanwd.ndarray( x.length, x, 1, 0 );
294-
* // returns ~0.3333
295-
*/
296-
nanmeanwd: typeof nanmeanwd;
297-
298275
/**
299276
* Computes the maximum value of a strided array according to a mask, ignoring `NaN` values.
300277
*

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, 'nanmeanors', require( '@stdlib/stats/base/nanmeanors' ) );
108108
*/
109109
setReadOnly( ns, 'nanmeanpn', require( '@stdlib/stats/base/nanmeanpn' ) );
110110

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

0 commit comments

Comments
 (0)