Skip to content

Commit 6833196

Browse files
committed
remove: remove stats/base/snanmeanors from namespace
This commit removes the `snanmeanors` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `stats/base/snanmeanors` To migrate, users should access the same symbol via the `@stdlib/stats/strided/snanmeanors` 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 3ff776d commit 6833196

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
@@ -103,7 +103,6 @@ import smeanors = require( '@stdlib/stats/base/smeanors' );
103103
import smeanpn = require( '@stdlib/stats/base/smeanpn' );
104104
import smidrange = require( '@stdlib/stats/base/smidrange' );
105105
import snanmean = require( '@stdlib/stats/base/snanmean' );
106-
import snanmeanors = require( '@stdlib/stats/base/snanmeanors' );
107106
import snanmeanpn = require( '@stdlib/stats/base/snanmeanpn' );
108107
import snanmeanwd = require( '@stdlib/stats/base/snanmeanwd' );
109108
import snanmin = require( '@stdlib/stats/base/snanmin' );
@@ -2354,32 +2353,6 @@ interface Namespace {
23542353
*/
23552354
snanmean: typeof snanmean;
23562355

2357-
/**
2358-
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using ordinary recursive summation.
2359-
*
2360-
* @param N - number of indexed elements
2361-
* @param x - input array
2362-
* @param strideX - stride length
2363-
* @returns arithmetic mean
2364-
*
2365-
* @example
2366-
* var Float32Array = require( '@stdlib/array/float32' );
2367-
*
2368-
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
2369-
*
2370-
* var v = ns.snanmeanors( x.length, x, 1 );
2371-
* // returns ~0.3333
2372-
*
2373-
* @example
2374-
* var Float32Array = require( '@stdlib/array/float32' );
2375-
*
2376-
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
2377-
*
2378-
* var v = ns.snanmeanors.ndarray( x.length, x, 1, 0 );
2379-
* // returns ~0.3333
2380-
*/
2381-
snanmeanors: typeof snanmeanors;
2382-
23832356
/**
23842357
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using a two-pass error correction algorithm.
23852358
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -783,15 +783,6 @@ setReadOnly( ns, 'smidrange', require( '@stdlib/stats/base/smidrange' ) );
783783
*/
784784
setReadOnly( ns, 'snanmean', require( '@stdlib/stats/base/snanmean' ) );
785785

786-
/**
787-
* @name snanmeanors
788-
* @memberof ns
789-
* @readonly
790-
* @type {Function}
791-
* @see {@link module:@stdlib/stats/base/snanmeanors}
792-
*/
793-
setReadOnly( ns, 'snanmeanors', require( '@stdlib/stats/base/snanmeanors' ) );
794-
795786
/**
796787
* @name snanmeanpn
797788
* @memberof ns

0 commit comments

Comments
 (0)