Skip to content

Commit 5b45116

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

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
@@ -38,7 +38,6 @@ import meanors = require( '@stdlib/stats/base/meanors' );
3838
import meanpn = require( '@stdlib/stats/base/meanpn' );
3939
import meanpw = require( '@stdlib/stats/base/meanpw' );
4040
import meanwd = require( '@stdlib/stats/base/meanwd' );
41-
import mediansorted = require( '@stdlib/stats/base/mediansorted' );
4241
import mskmax = require( '@stdlib/stats/base/mskmax' );
4342
import mskmin = require( '@stdlib/stats/base/mskmin' );
4443
import mskrange = require( '@stdlib/stats/base/mskrange' );
@@ -566,28 +565,6 @@ interface Namespace {
566565
*/
567566
meanwd: typeof meanwd;
568567

569-
/**
570-
* Computes the median value of a sorted strided array.
571-
*
572-
* @param N - number of indexed elements
573-
* @param x - sorted input array
574-
* @param strideX - stride length
575-
* @returns median value
576-
*
577-
* @example
578-
* var x = [ 1.0, 2.0, 3.0 ];
579-
*
580-
* var v = ns.mediansorted( x.length, x, 1 );
581-
* // returns 2.0
582-
*
583-
* @example
584-
* var x = [ 1.0, 2.0, 3.0 ];
585-
*
586-
* var v = ns.mediansorted.ndarray( x.length, x, 1, 0 );
587-
* // returns 2.0
588-
*/
589-
mediansorted: typeof mediansorted;
590-
591568
/**
592569
* Computes the maximum value of a strided array according to a mask.
593570
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,6 @@ setReadOnly( ns, 'meanpw', require( '@stdlib/stats/base/meanpw' ) );
198198
*/
199199
setReadOnly( ns, 'meanwd', require( '@stdlib/stats/base/meanwd' ) );
200200

201-
/**
202-
* @name mediansorted
203-
* @memberof ns
204-
* @readonly
205-
* @type {Function}
206-
* @see {@link module:@stdlib/stats/base/mediansorted}
207-
*/
208-
setReadOnly( ns, 'mediansorted', require( '@stdlib/stats/base/mediansorted' ) );
209-
210201
/**
211202
* @name mskmax
212203
* @memberof ns

0 commit comments

Comments
 (0)