Skip to content

Commit 88595c4

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

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 snanmeanpn = require( '@stdlib/stats/base/snanmeanpn' );
107106
import snanmeanwd = require( '@stdlib/stats/base/snanmeanwd' );
108107
import snanmin = require( '@stdlib/stats/base/snanmin' );
109108
import snanminabs = require( '@stdlib/stats/base/snanminabs' );
@@ -2353,32 +2352,6 @@ interface Namespace {
23532352
*/
23542353
snanmean: typeof snanmean;
23552354

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

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 snanmeanpn
788-
* @memberof ns
789-
* @readonly
790-
* @type {Function}
791-
* @see {@link module:@stdlib/stats/base/snanmeanpn}
792-
*/
793-
setReadOnly( ns, 'snanmeanpn', require( '@stdlib/stats/base/snanmeanpn' ) );
794-
795786
/**
796787
* @name snanmeanwd
797788
* @memberof ns

0 commit comments

Comments
 (0)