Skip to content

Commit ea21f0b

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

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 meanpw = require( '@stdlib/stats/base/meanpw' );
3534
import meanwd = require( '@stdlib/stats/base/meanwd' );
3635
import nanmean = require( '@stdlib/stats/base/nanmean' );
3736
import nanmeanors = require( '@stdlib/stats/base/nanmeanors' );
@@ -397,28 +396,6 @@ interface Namespace {
397396
*/
398397
dvarmpn: typeof dvarmpn;
399398

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

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 meanpw
140-
* @memberof ns
141-
* @readonly
142-
* @type {Function}
143-
* @see {@link module:@stdlib/stats/base/meanpw}
144-
*/
145-
setReadOnly( ns, 'meanpw', require( '@stdlib/stats/base/meanpw' ) );
146-
147138
/**
148139
* @name meanwd
149140
* @memberof ns

0 commit comments

Comments
 (0)