Skip to content

Commit 5b42cc3

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

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 smeanpw = require( '@stdlib/stats/base/smeanpw' );
105104
import smeanwd = require( '@stdlib/stats/base/smeanwd' );
106105
import smediansorted = require( '@stdlib/stats/base/smediansorted' );
107106
import smidrange = require( '@stdlib/stats/base/smidrange' );
@@ -2313,32 +2312,6 @@ interface Namespace {
23132312
*/
23142313
smeanpn: typeof smeanpn;
23152314

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

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 smeanpw
770-
* @memberof ns
771-
* @readonly
772-
* @type {Function}
773-
* @see {@link module:@stdlib/stats/base/smeanpw}
774-
*/
775-
setReadOnly( ns, 'smeanpw', require( '@stdlib/stats/base/smeanpw' ) );
776-
777768
/**
778769
* @name smeanwd
779770
* @memberof ns

0 commit comments

Comments
 (0)