Skip to content

Commit 427c6f5

Browse files
committed
remove: remove minsorted from namespace
This commit removes the `minsorted` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `minsorted` 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 3c51710 commit 427c6f5

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
@@ -40,7 +40,6 @@ import meanpw = require( '@stdlib/stats/base/meanpw' );
4040
import meanwd = require( '@stdlib/stats/base/meanwd' );
4141
import mediansorted = require( '@stdlib/stats/base/mediansorted' );
4242
import min = require( '@stdlib/stats/base/min' );
43-
import minsorted = require( '@stdlib/stats/base/minsorted' );
4443
import mskmax = require( '@stdlib/stats/base/mskmax' );
4544
import mskmin = require( '@stdlib/stats/base/mskmin' );
4645
import mskrange = require( '@stdlib/stats/base/mskrange' );
@@ -612,28 +611,6 @@ interface Namespace {
612611
*/
613612
min: typeof min;
614613

615-
/**
616-
* Computes the minimum value of a sorted strided array.
617-
*
618-
* @param N - number of indexed elements
619-
* @param x - sorted input array
620-
* @param strideX - stride length
621-
* @returns minimum value
622-
*
623-
* @example
624-
* var x = [ 1.0, 2.0, 3.0 ];
625-
*
626-
* var v = ns.minsorted( x.length, x, 1 );
627-
* // returns 1.0
628-
*
629-
* @example
630-
* var x = [ 1.0, 2.0, 3.0 ];
631-
*
632-
* var v = ns.minsorted.ndarray( x.length, x, 1, 0 );
633-
* // returns 1.0
634-
*/
635-
minsorted: typeof minsorted;
636-
637614
/**
638615
* Computes the maximum value of a strided array according to a mask.
639616
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,6 @@ setReadOnly( ns, 'mediansorted', require( '@stdlib/stats/base/mediansorted' ) );
216216
*/
217217
setReadOnly( ns, 'min', require( '@stdlib/stats/base/min' ) );
218218

219-
/**
220-
* @name minsorted
221-
* @memberof ns
222-
* @readonly
223-
* @type {Function}
224-
* @see {@link module:@stdlib/stats/base/minsorted}
225-
*/
226-
setReadOnly( ns, 'minsorted', require( '@stdlib/stats/base/minsorted' ) );
227-
228219
/**
229220
* @name mskmax
230221
* @memberof ns

0 commit comments

Comments
 (0)