Skip to content

Commit 0564116

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

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 mskrange = require( '@stdlib/stats/base/mskrange' );
4140
import nanmax = require( '@stdlib/stats/base/nanmax' );
4241
import nanmaxBy = require( '@stdlib/stats/base/nanmax-by' );
4342
import nanmaxabs = require( '@stdlib/stats/base/nanmaxabs' );
@@ -540,32 +539,6 @@ interface Namespace {
540539
*/
541540
meanwd: typeof meanwd;
542541

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

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 mskrange
194-
* @memberof ns
195-
* @readonly
196-
* @type {Function}
197-
* @see {@link module:@stdlib/stats/base/mskrange}
198-
*/
199-
setReadOnly( ns, 'mskrange', require( '@stdlib/stats/base/mskrange' ) );
200-
201192
/**
202193
* @name nanmax
203194
* @memberof ns

0 commit comments

Comments
 (0)