Skip to content

Commit 0277276

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

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

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

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

0 commit comments

Comments
 (0)