Skip to content

Commit 8aec167

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

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
@@ -26,7 +26,6 @@ import cumin = require( '@stdlib/stats/base/cumin' );
2626
import cuminabs = require( '@stdlib/stats/base/cuminabs' );
2727
import dists = require( '@stdlib/stats/base/dists' );
2828
import nanmean = require( '@stdlib/stats/base/nanmean' );
29-
import nanmeanpn = require( '@stdlib/stats/base/nanmeanpn' );
3029
import nanmskmax = require( '@stdlib/stats/base/nanmskmax' );
3130
import nanmskmin = require( '@stdlib/stats/base/nanmskmin' );
3231
import nanmskrange = require( '@stdlib/stats/base/nanmskrange' );
@@ -227,28 +226,6 @@ interface Namespace {
227226
*/
228227
nanmean: typeof nanmean;
229228

230-
/**
231-
* Computes the arithmetic mean of a strided array, ignoring `NaN` values and using a two-pass error correction algorithm.
232-
*
233-
* @param N - number of indexed elements
234-
* @param x - input array
235-
* @param stride - stride length
236-
* @returns arithmetic mean
237-
*
238-
* @example
239-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
240-
*
241-
* var v = ns.nanmeanpn( x.length, x, 1 );
242-
* // returns ~0.3333
243-
*
244-
* @example
245-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
246-
*
247-
* var v = ns.nanmeanpn.ndarray( x.length, x, 1, 0 );
248-
* // returns ~0.3333
249-
*/
250-
nanmeanpn: typeof nanmeanpn;
251-
252229
/**
253230
* Computes the maximum value of a strided array according to a mask, ignoring `NaN` values.
254231
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,6 @@ setReadOnly( ns, 'dists', require( '@stdlib/stats/base/dists' ) );
9090
*/
9191
setReadOnly( ns, 'nanmean', require( '@stdlib/stats/base/nanmean' ) );
9292

93-
/**
94-
* @name nanmeanpn
95-
* @memberof ns
96-
* @readonly
97-
* @type {Function}
98-
* @see {@link module:@stdlib/stats/base/nanmeanpn}
99-
*/
100-
setReadOnly( ns, 'nanmeanpn', require( '@stdlib/stats/base/nanmeanpn' ) );
101-
10293
/**
10394
* @name nanmskmax
10495
* @memberof ns

0 commit comments

Comments
 (0)