Skip to content

Commit 6d3a77c

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

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

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

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

0 commit comments

Comments
 (0)