Skip to content

Commit 1826f9d

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

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 nanmeanors = require( '@stdlib/stats/base/nanmeanors' );
3029
import nanmeanpn = require( '@stdlib/stats/base/nanmeanpn' );
3130
import nanmskmax = require( '@stdlib/stats/base/nanmskmax' );
3231
import nanmskmin = require( '@stdlib/stats/base/nanmskmin' );
@@ -228,28 +227,6 @@ interface Namespace {
228227
*/
229228
nanmean: typeof nanmean;
230229

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

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 nanmeanors
95-
* @memberof ns
96-
* @readonly
97-
* @type {Function}
98-
* @see {@link module:@stdlib/stats/base/nanmeanors}
99-
*/
100-
setReadOnly( ns, 'nanmeanors', require( '@stdlib/stats/base/nanmeanors' ) );
101-
10293
/**
10394
* @name nanmeanpn
10495
* @memberof ns

0 commit comments

Comments
 (0)