Skip to content

Commit f83492e

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

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

lib/node_modules/@stdlib/stats/base/docs/types/index.d.ts

Lines changed: 0 additions & 27 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 sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
29-
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
3029
import snanstdev = require( '@stdlib/stats/base/snanstdev' );
3130
import snanstdevch = require( '@stdlib/stats/base/snanstdevch' );
3231
import snanstdevpn = require( '@stdlib/stats/base/snanstdevpn' );
@@ -192,32 +191,6 @@ interface Namespace {
192191
*/
193192
sdsnanmean: typeof sdsnanmean;
194193

195-
/**
196-
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using ordinary recursive summation with extended accumulation.
197-
*
198-
* @param N - number of indexed elements
199-
* @param x - input array
200-
* @param stride - stride length
201-
* @returns arithmetic mean
202-
*
203-
* @example
204-
* var Float32Array = require( '@stdlib/array/float32' );
205-
*
206-
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
207-
*
208-
* var v = ns.sdsnanmeanors( x.length, x, 1 );
209-
* // returns ~0.3333
210-
*
211-
* @example
212-
* var Float32Array = require( '@stdlib/array/float32' );
213-
*
214-
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
215-
*
216-
* var v = ns.sdsnanmeanors.ndarray( x.length, x, 1, 0 );
217-
* // returns ~0.3333
218-
*/
219-
sdsnanmeanors: typeof sdsnanmeanors;
220-
221194
/**
222195
* Computes the standard deviation of a single-precision floating-point strided array ignoring `NaN` values.
223196
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,6 @@ setReadOnly( ns, 'ndarray', require( '@stdlib/stats/base/ndarray' ) );
9999
*/
100100
setReadOnly( ns, 'sdsnanmean', require( '@stdlib/stats/base/sdsnanmean' ) );
101101

102-
/**
103-
* @name sdsnanmeanors
104-
* @memberof ns
105-
* @readonly
106-
* @type {Function}
107-
* @see {@link module:@stdlib/stats/base/sdsnanmeanors}
108-
*/
109-
setReadOnly( ns, 'sdsnanmeanors', require( '@stdlib/stats/base/sdsnanmeanors' ) );
110-
111102
/**
112103
* @name snanstdev
113104
* @memberof ns

0 commit comments

Comments
 (0)