Skip to content

Commit 1b71e10

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

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
@@ -31,7 +31,6 @@ import dmeanvar = require( '@stdlib/stats/base/dmeanvar' );
3131
import dmeanvarpn = require( '@stdlib/stats/base/dmeanvarpn' );
3232
import dvarm = require( '@stdlib/stats/base/dvarm' );
3333
import dvarmpn = require( '@stdlib/stats/base/dvarmpn' );
34-
import meanwd = require( '@stdlib/stats/base/meanwd' );
3534
import nanmean = require( '@stdlib/stats/base/nanmean' );
3635
import nanmeanors = require( '@stdlib/stats/base/nanmeanors' );
3736
import nanmeanpn = require( '@stdlib/stats/base/nanmeanpn' );
@@ -396,28 +395,6 @@ interface Namespace {
396395
*/
397396
dvarmpn: typeof dvarmpn;
398397

399-
/**
400-
* Computes the arithmetic mean of a strided array using Welford's algorithm.
401-
*
402-
* @param N - number of indexed elements
403-
* @param x - input array
404-
* @param strideX - stride length
405-
* @returns arithmetic mean
406-
*
407-
* @example
408-
* var x = [ 1.0, -2.0, 2.0 ];
409-
*
410-
* var v = ns.meanwd( x.length, x, 1 );
411-
* // returns ~0.3333
412-
*
413-
* @example
414-
* var x = [ 1.0, -2.0, 2.0 ];
415-
*
416-
* var v = ns.meanwd.ndarray( x.length, x, 1, 0 );
417-
* // returns ~0.3333
418-
*/
419-
meanwd: typeof meanwd;
420-
421398
/**
422399
* Computes the arithmetic mean of a strided array, ignoring `NaN` values.
423400
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,6 @@ setReadOnly( ns, 'dvarm', require( '@stdlib/stats/base/dvarm' ) );
135135
*/
136136
setReadOnly( ns, 'dvarmpn', require( '@stdlib/stats/base/dvarmpn' ) );
137137

138-
/**
139-
* @name meanwd
140-
* @memberof ns
141-
* @readonly
142-
* @type {Function}
143-
* @see {@link module:@stdlib/stats/base/meanwd}
144-
*/
145-
setReadOnly( ns, 'meanwd', require( '@stdlib/stats/base/meanwd' ) );
146-
147138
/**
148139
* @name nanmean
149140
* @memberof ns

0 commit comments

Comments
 (0)