Skip to content

Commit 9339bd2

Browse files
committed
remove: remove stats/base/dsnanmeanpn from namespace
This commit removes the `dsnanmeanpn` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `stats/base/dsnanmeanpn` To migrate, users should access the same symbol via the `@stdlib/stats/strided/dsnanmeanpn` namespace. Ref: stdlib-js#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 e31dcb3 commit 9339bd2

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
@@ -42,7 +42,6 @@ import dnanstdev = require( '@stdlib/stats/base/dnanstdev' );
4242
import dsem = require( '@stdlib/stats/base/dsem' );
4343
import dsempn = require( '@stdlib/stats/base/dsempn' );
4444
import dsmeanors = require( '@stdlib/stats/base/dsmeanors' );
45-
import dsnanmeanpn = require( '@stdlib/stats/base/dsnanmeanpn' );
4645
import dsnanmeanwd = require( '@stdlib/stats/base/dsnanmeanwd' );
4746
import dstdev = require( '@stdlib/stats/base/dstdev' );
4847
import dstdevch = require( '@stdlib/stats/base/dstdevch' );
@@ -819,32 +818,6 @@ interface Namespace {
819818
*/
820819
dsmeanors: typeof dsmeanors;
821820

822-
/**
823-
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values, using a two-pass error correction algorithm with extended accumulation, and returning an extended precision result.
824-
*
825-
* @param N - number of indexed elements
826-
* @param x - input array
827-
* @param strideX - stride length
828-
* @returns arithmetic mean
829-
*
830-
* @example
831-
* var Float32Array = require( '@stdlib/array/float32' );
832-
*
833-
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
834-
*
835-
* var v = ns.dsnanmeanpn( x.length, x, 1 );
836-
* // returns ~0.3333
837-
*
838-
* @example
839-
* var Float32Array = require( '@stdlib/array/float32' );
840-
*
841-
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
842-
*
843-
* var v = ns.dsnanmeanpn.ndarray( x.length, x, 1, 0 );
844-
* // returns ~0.3333
845-
*/
846-
dsnanmeanpn: typeof dsnanmeanpn;
847-
848821
/**
849822
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values, using Welford's algorithm with extended accumulation, and returning an extended precision result.
850823
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,6 @@ setReadOnly( ns, 'dsempn', require( '@stdlib/stats/base/dsempn' ) );
234234
*/
235235
setReadOnly( ns, 'dsmeanors', require( '@stdlib/stats/base/dsmeanors' ) );
236236

237-
/**
238-
* @name dsnanmeanpn
239-
* @memberof ns
240-
* @readonly
241-
* @type {Function}
242-
* @see {@link module:@stdlib/stats/base/dsnanmeanpn}
243-
*/
244-
setReadOnly( ns, 'dsnanmeanpn', require( '@stdlib/stats/base/dsnanmeanpn' ) );
245-
246237
/**
247238
* @name dsnanmeanwd
248239
* @memberof ns

0 commit comments

Comments
 (0)