Skip to content

Commit 80fae16

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

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

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

-27
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 smediansorted = require( '@stdlib/stats/base/smediansorted' );
105104
import smidrange = require( '@stdlib/stats/base/smidrange' );
106105
import smin = require( '@stdlib/stats/base/smin' );
107106
import sminabs = require( '@stdlib/stats/base/sminabs' );
@@ -2311,32 +2310,6 @@ interface Namespace {
23112310
*/
23122311
smeanpn: typeof smeanpn;
23132312

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

Diff for: lib/node_modules/@stdlib/stats/base/lib/index.js

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

0 commit comments

Comments
 (0)