Skip to content

Commit 3f56701

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

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
@@ -39,7 +39,6 @@ import meanpn = require( '@stdlib/stats/base/meanpn' );
3939
import meanpw = require( '@stdlib/stats/base/meanpw' );
4040
import meanwd = require( '@stdlib/stats/base/meanwd' );
4141
import mediansorted = require( '@stdlib/stats/base/mediansorted' );
42-
import min = require( '@stdlib/stats/base/min' );
4342
import mskmax = require( '@stdlib/stats/base/mskmax' );
4443
import mskmin = require( '@stdlib/stats/base/mskmin' );
4544
import mskrange = require( '@stdlib/stats/base/mskrange' );
@@ -589,28 +588,6 @@ interface Namespace {
589588
*/
590589
mediansorted: typeof mediansorted;
591590

592-
/**
593-
* Computes the minimum value of a strided array.
594-
*
595-
* @param N - number of indexed elements
596-
* @param x - input array
597-
* @param strideX - stride length
598-
* @returns minimum value
599-
*
600-
* @example
601-
* var x = [ 1.0, -2.0, 2.0 ];
602-
*
603-
* var v = ns.min( x.length, x, 1 );
604-
* // returns -2.0
605-
*
606-
* @example
607-
* var x = [ 1.0, -2.0, 2.0 ];
608-
*
609-
* var v = ns.min.ndarray( x.length, x, 1, 0 );
610-
* // returns -2.0
611-
*/
612-
min: typeof min;
613-
614591
/**
615592
* Computes the maximum value of a strided array according to a mask.
616593
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,6 @@ setReadOnly( ns, 'meanwd', require( '@stdlib/stats/base/meanwd' ) );
207207
*/
208208
setReadOnly( ns, 'mediansorted', require( '@stdlib/stats/base/mediansorted' ) );
209209

210-
/**
211-
* @name min
212-
* @memberof ns
213-
* @readonly
214-
* @type {Function}
215-
* @see {@link module:@stdlib/stats/base/min}
216-
*/
217-
setReadOnly( ns, 'min', require( '@stdlib/stats/base/min' ) );
218-
219210
/**
220211
* @name mskmax
221212
* @memberof ns

0 commit comments

Comments
 (0)