Skip to content

Commit 69774be

Browse files
committed
remove: remove smean from namespace
This commit removes the `smean` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `smean` 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 746772d commit 69774be

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
@@ -81,7 +81,6 @@ import range = require( '@stdlib/stats/base/range' );
8181
import rangeBy = require( '@stdlib/stats/base/range-by' );
8282
import sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
8383
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
84-
import smean = require( '@stdlib/stats/base/smean' );
8584
import smeankbn = require( '@stdlib/stats/base/smeankbn' );
8685
import smeankbn2 = require( '@stdlib/stats/base/smeankbn2' );
8786
import smeanlipw = require( '@stdlib/stats/base/smeanlipw' );
@@ -1704,32 +1703,6 @@ interface Namespace {
17041703
*/
17051704
sdsnanmeanors: typeof sdsnanmeanors;
17061705

1707-
/**
1708-
* Computes the arithmetic mean of a single-precision floating-point strided array.
1709-
*
1710-
* @param N - number of indexed elements
1711-
* @param x - input array
1712-
* @param stride - stride length
1713-
* @returns arithmetic mean
1714-
*
1715-
* @example
1716-
* var Float32Array = require( '@stdlib/array/float32' );
1717-
*
1718-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
1719-
*
1720-
* var v = ns.smean( x.length, x, 1 );
1721-
* // returns ~0.3333
1722-
*
1723-
* @example
1724-
* var Float32Array = require( '@stdlib/array/float32' );
1725-
*
1726-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
1727-
*
1728-
* var v = ns.smean.ndarray( x.length, x, 1, 0 );
1729-
* // returns ~0.3333
1730-
*/
1731-
smean: typeof smean;
1732-
17331706
/**
17341707
* Computes the arithmetic mean of a single-precision floating-point strided array using an improved Kahan–Babuška algorithm.
17351708
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -594,15 +594,6 @@ setReadOnly( ns, 'sdsnanmean', require( '@stdlib/stats/base/sdsnanmean' ) );
594594
*/
595595
setReadOnly( ns, 'sdsnanmeanors', require( '@stdlib/stats/base/sdsnanmeanors' ) );
596596

597-
/**
598-
* @name smean
599-
* @memberof ns
600-
* @readonly
601-
* @type {Function}
602-
* @see {@link module:@stdlib/stats/base/smean}
603-
*/
604-
setReadOnly( ns, 'smean', require( '@stdlib/stats/base/smean' ) );
605-
606597
/**
607598
* @name smeankbn
608599
* @memberof ns

0 commit comments

Comments
 (0)