Skip to content

Commit 03e7d49

Browse files
committed
remove: remove mskmax from namespace
This commit removes the `mskmax` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `mskmax` 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 8e98fe7 commit 03e7d49

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
@@ -37,7 +37,6 @@ import meanors = require( '@stdlib/stats/base/meanors' );
3737
import meanpn = require( '@stdlib/stats/base/meanpn' );
3838
import meanpw = require( '@stdlib/stats/base/meanpw' );
3939
import meanwd = require( '@stdlib/stats/base/meanwd' );
40-
import mskmax = require( '@stdlib/stats/base/mskmax' );
4140
import mskmin = require( '@stdlib/stats/base/mskmin' );
4241
import mskrange = require( '@stdlib/stats/base/mskrange' );
4342
import nanmax = require( '@stdlib/stats/base/nanmax' );
@@ -542,32 +541,6 @@ interface Namespace {
542541
*/
543542
meanwd: typeof meanwd;
544543

545-
/**
546-
* Computes the maximum value of a strided array according to a mask.
547-
*
548-
* @param N - number of indexed elements
549-
* @param x - input array
550-
* @param strideX - stride length for `x`
551-
* @param mask - mask array
552-
* @param strideMask - stride length for `mask`
553-
* @returns maximum value
554-
*
555-
* @example
556-
* var x = [ 1.0, -2.0, 4.0, 2.0 ];
557-
* var mask = [ 0, 0, 1, 0 ];
558-
*
559-
* var v = ns.mskmax( x.length, x, 1, mask, 1 );
560-
* // returns 2.0
561-
*
562-
* @example
563-
* var x = [ 1.0, -2.0, 4.0, 2.0 ];
564-
* var mask = [ 0, 0, 1, 0 ];
565-
*
566-
* var v = ns.mskmax.ndarray( x.length, x, 1, 0, mask, 1, 0 );
567-
* // returns 2.0
568-
*/
569-
mskmax: typeof mskmax;
570-
571544
/**
572545
* Computes the minimum value of a strided array according to a mask.
573546
*

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

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

192-
/**
193-
* @name mskmax
194-
* @memberof ns
195-
* @readonly
196-
* @type {Function}
197-
* @see {@link module:@stdlib/stats/base/mskmax}
198-
*/
199-
setReadOnly( ns, 'mskmax', require( '@stdlib/stats/base/mskmax' ) );
200-
201192
/**
202193
* @name mskmin
203194
* @memberof ns

0 commit comments

Comments
 (0)