Skip to content

Commit b3c7191

Browse files
committed
remove: remove stats/base/smeanwd from namespace
This commit removes the `smeanwd` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `stats/base/smeanwd` To migrate, users should access the same symbol via the `@stdlib/stats/strided/smeanwd` 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 b987657 commit b3c7191

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
@@ -101,7 +101,6 @@ import smeankbn2 = require( '@stdlib/stats/base/smeankbn2' );
101101
import smeanlipw = require( '@stdlib/stats/base/smeanlipw' );
102102
import smeanors = require( '@stdlib/stats/base/smeanors' );
103103
import smeanpn = require( '@stdlib/stats/base/smeanpn' );
104-
import smeanwd = require( '@stdlib/stats/base/smeanwd' );
105104
import smediansorted = require( '@stdlib/stats/base/smediansorted' );
106105
import smidrange = require( '@stdlib/stats/base/smidrange' );
107106
import smin = require( '@stdlib/stats/base/smin' );
@@ -2312,32 +2311,6 @@ interface Namespace {
23122311
*/
23132312
smeanpn: typeof smeanpn;
23142313

2315-
/**
2316-
* Computes the arithmetic mean of a single-precision floating-point strided array using Welford's algorithm.
2317-
*
2318-
* @param N - number of indexed elements
2319-
* @param x - input array
2320-
* @param strideX - stride length
2321-
* @returns arithmetic mean
2322-
*
2323-
* @example
2324-
* var Float32Array = require( '@stdlib/array/float32' );
2325-
*
2326-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
2327-
*
2328-
* var v = ns.smeanwd( x.length, x, 1 );
2329-
* // returns ~0.3333
2330-
*
2331-
* @example
2332-
* var Float32Array = require( '@stdlib/array/float32' );
2333-
*
2334-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
2335-
*
2336-
* var v = ns.smeanwd.ndarray( x.length, x, 1, 0 );
2337-
* // returns ~0.3333
2338-
*/
2339-
smeanwd: typeof smeanwd;
2340-
23412314
/**
23422315
* Computes the median value of a sorted single-precision floating-point strided array.
23432316
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -765,15 +765,6 @@ setReadOnly( ns, 'smeanors', require( '@stdlib/stats/base/smeanors' ) );
765765
*/
766766
setReadOnly( ns, 'smeanpn', require( '@stdlib/stats/base/smeanpn' ) );
767767

768-
/**
769-
* @name smeanwd
770-
* @memberof ns
771-
* @readonly
772-
* @type {Function}
773-
* @see {@link module:@stdlib/stats/base/smeanwd}
774-
*/
775-
setReadOnly( ns, 'smeanwd', require( '@stdlib/stats/base/smeanwd' ) );
776-
777768
/**
778769
* @name smediansorted
779770
* @memberof ns

0 commit comments

Comments
 (0)