Skip to content

Commit d64ce7d

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

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
@@ -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 nanmax = require( '@stdlib/stats/base/nanmax' );
4140
import nanmean = require( '@stdlib/stats/base/nanmean' );
4241
import nanmeanors = require( '@stdlib/stats/base/nanmeanors' );
4342
import nanmeanpn = require( '@stdlib/stats/base/nanmeanpn' );
@@ -537,28 +536,6 @@ interface Namespace {
537536
*/
538537
meanwd: typeof meanwd;
539538

540-
/**
541-
* Computes the maximum value of a strided array, ignoring `NaN` values.
542-
*
543-
* @param N - number of indexed elements
544-
* @param x - input array
545-
* @param strideX - stride length
546-
* @returns maximum value
547-
*
548-
* @example
549-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
550-
*
551-
* var v = ns.nanmax( x.length, x, 1 );
552-
* // returns 2.0
553-
*
554-
* @example
555-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
556-
*
557-
* var v = ns.nanmax.ndarray( x.length, x, 1, 0 );
558-
* // returns 2.0
559-
*/
560-
nanmax: typeof nanmax;
561-
562539
/**
563540
* Computes the arithmetic mean of a strided array, ignoring `NaN` values.
564541
*

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

0 commit comments

Comments
 (0)