Skip to content

Commit 88ed279

Browse files
gururaj1512anandkaranubc
authored andcommitted
remove: remove smeanors from namespace
This commit removes the `smeanors` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `smeanors` To migrate, users should access the same symbol via the `@stdlib/stats/strided` 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 9eae3de commit 88ed279

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
@@ -49,7 +49,6 @@ import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
4949
import smeankbn = require( '@stdlib/stats/base/smeankbn' );
5050
import smeankbn2 = require( '@stdlib/stats/base/smeankbn2' );
5151
import smeanlipw = require( '@stdlib/stats/base/smeanlipw' );
52-
import smeanors = require( '@stdlib/stats/base/smeanors' );
5352
import snanmean = require( '@stdlib/stats/base/snanmean' );
5453
import snanstdev = require( '@stdlib/stats/base/snanstdev' );
5554
import snanstdevch = require( '@stdlib/stats/base/snanstdevch' );
@@ -821,32 +820,6 @@ interface Namespace {
821820
*/
822821
smeanlipw: typeof smeanlipw;
823822

824-
/**
825-
* Computes the arithmetic mean of a single-precision floating-point strided array using ordinary recursive summation.
826-
*
827-
* @param N - number of indexed elements
828-
* @param x - input array
829-
* @param stride - stride length
830-
* @returns arithmetic mean
831-
*
832-
* @example
833-
* var Float32Array = require( '@stdlib/array/float32' );
834-
*
835-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
836-
*
837-
* var v = ns.smeanors( x.length, x, 1 );
838-
* // returns ~0.3333
839-
*
840-
* @example
841-
* var Float32Array = require( '@stdlib/array/float32' );
842-
*
843-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
844-
*
845-
* var v = ns.smeanors.ndarray( x.length, x, 1, 0 );
846-
* // returns ~0.3333
847-
*/
848-
smeanors: typeof smeanors;
849-
850823
/**
851824
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values.
852825
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -306,15 +306,6 @@ setReadOnly( ns, 'smeankbn2', require( '@stdlib/stats/base/smeankbn2' ) );
306306
*/
307307
setReadOnly( ns, 'smeanlipw', require( '@stdlib/stats/base/smeanlipw' ) );
308308

309-
/**
310-
* @name smeanors
311-
* @memberof ns
312-
* @readonly
313-
* @type {Function}
314-
* @see {@link module:@stdlib/stats/base/smeanors}
315-
*/
316-
setReadOnly( ns, 'smeanors', require( '@stdlib/stats/base/smeanors' ) );
317-
318309
/**
319310
* @name snanmean
320311
* @memberof ns

0 commit comments

Comments
 (0)