Skip to content

Commit 9dd5b59

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

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
@@ -41,7 +41,6 @@ import nanmean = require( '@stdlib/stats/base/nanmean' );
4141
import nanmeanors = require( '@stdlib/stats/base/nanmeanors' );
4242
import nanmeanpn = require( '@stdlib/stats/base/nanmeanpn' );
4343
import nanmeanwd = require( '@stdlib/stats/base/nanmeanwd' );
44-
import nanmin = require( '@stdlib/stats/base/nanmin' );
4544
import nanmskmax = require( '@stdlib/stats/base/nanmskmax' );
4645
import nanmskmin = require( '@stdlib/stats/base/nanmskmin' );
4746
import nanmskrange = require( '@stdlib/stats/base/nanmskrange' );
@@ -622,28 +621,6 @@ interface Namespace {
622621
*/
623622
nanmeanwd: typeof nanmeanwd;
624623

625-
/**
626-
* Computes the minimum value of a strided array, ignoring `NaN` values.
627-
*
628-
* @param N - number of indexed elements
629-
* @param x - input array
630-
* @param stride - stride length
631-
* @returns minimum value
632-
*
633-
* @example
634-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
635-
*
636-
* var v = ns.nanmin( x.length, x, 1 );
637-
* // returns -2.0
638-
*
639-
* @example
640-
* var x = [ 1.0, -2.0, NaN, 2.0 ];
641-
*
642-
* var v = ns.nanmin.ndarray( x.length, x, 1, 0 );
643-
* // returns -2.0
644-
*/
645-
nanmin: typeof nanmin;
646-
647624
/**
648625
* Computes the maximum value of a strided array according to a mask, ignoring `NaN` values.
649626
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,6 @@ setReadOnly( ns, 'nanmeanpn', require( '@stdlib/stats/base/nanmeanpn' ) );
225225
*/
226226
setReadOnly( ns, 'nanmeanwd', require( '@stdlib/stats/base/nanmeanwd' ) );
227227

228-
/**
229-
* @name nanmin
230-
* @memberof ns
231-
* @readonly
232-
* @type {Function}
233-
* @see {@link module:@stdlib/stats/base/nanmin}
234-
*/
235-
setReadOnly( ns, 'nanmin', require( '@stdlib/stats/base/nanmin' ) );
236-
237228
/**
238229
* @name nanmskmax
239230
* @memberof ns

0 commit comments

Comments
 (0)