Skip to content

Commit 08b54b3

Browse files
committed
remove: remove smeanpn from namespace
This commit removes the `smeanpn` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `smeanpn` 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 dc140cf commit 08b54b3

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
@@ -86,7 +86,6 @@ import smeankbn = require( '@stdlib/stats/base/smeankbn' );
8686
import smeankbn2 = require( '@stdlib/stats/base/smeankbn2' );
8787
import smeanlipw = require( '@stdlib/stats/base/smeanlipw' );
8888
import smeanors = require( '@stdlib/stats/base/smeanors' );
89-
import smeanpn = require( '@stdlib/stats/base/smeanpn' );
9089
import snanmean = require( '@stdlib/stats/base/snanmean' );
9190
import snanstdev = require( '@stdlib/stats/base/snanstdev' );
9291
import snanstdevch = require( '@stdlib/stats/base/snanstdevch' );
@@ -1835,32 +1834,6 @@ interface Namespace {
18351834
*/
18361835
smeanors: typeof smeanors;
18371836

1838-
/**
1839-
* Computes the arithmetic mean of a single-precision floating-point strided array using a two-pass error correction algorithm.
1840-
*
1841-
* @param N - number of indexed elements
1842-
* @param x - input array
1843-
* @param stride - stride length
1844-
* @returns arithmetic mean
1845-
*
1846-
* @example
1847-
* var Float32Array = require( '@stdlib/array/float32' );
1848-
*
1849-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
1850-
*
1851-
* var v = ns.smeanpn( x.length, x, 1 );
1852-
* // returns ~0.3333
1853-
*
1854-
* @example
1855-
* var Float32Array = require( '@stdlib/array/float32' );
1856-
*
1857-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
1858-
*
1859-
* var v = ns.smeanpn.ndarray( x.length, x, 1, 0 );
1860-
* // returns ~0.3333
1861-
*/
1862-
smeanpn: typeof smeanpn;
1863-
18641837
/**
18651838
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values.
18661839
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -639,15 +639,6 @@ setReadOnly( ns, 'smeanlipw', require( '@stdlib/stats/base/smeanlipw' ) );
639639
*/
640640
setReadOnly( ns, 'smeanors', require( '@stdlib/stats/base/smeanors' ) );
641641

642-
/**
643-
* @name smeanpn
644-
* @memberof ns
645-
* @readonly
646-
* @type {Function}
647-
* @see {@link module:@stdlib/stats/base/smeanpn}
648-
*/
649-
setReadOnly( ns, 'smeanpn', require( '@stdlib/stats/base/smeanpn' ) );
650-
651642
/**
652643
* @name snanmean
653644
* @memberof ns

0 commit comments

Comments
 (0)