Skip to content

Commit a8f2745

Browse files
gururaj1512anandkaranubc
authored andcommitted
remove: remove smeankbn from namespace
This commit removes the `smeankbn` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `smeankbn` 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 cf134de commit a8f2745

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
@@ -46,7 +46,6 @@ import range = require( '@stdlib/stats/base/range' );
4646
import rangeBy = require( '@stdlib/stats/base/range-by' );
4747
import sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
4848
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
49-
import smeankbn = require( '@stdlib/stats/base/smeankbn' );
5049
import snanmean = require( '@stdlib/stats/base/snanmean' );
5150
import snanstdev = require( '@stdlib/stats/base/snanstdev' );
5251
import snanstdevch = require( '@stdlib/stats/base/snanstdevch' );
@@ -740,32 +739,6 @@ interface Namespace {
740739
*/
741740
sdsnanmeanors: typeof sdsnanmeanors;
742741

743-
/**
744-
* Computes the arithmetic mean of a single-precision floating-point strided array using an improved Kahan–Babuška algorithm.
745-
*
746-
* @param N - number of indexed elements
747-
* @param x - input array
748-
* @param stride - stride length
749-
* @returns arithmetic mean
750-
*
751-
* @example
752-
* var Float32Array = require( '@stdlib/array/float32' );
753-
*
754-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
755-
*
756-
* var v = ns.smeankbn( x.length, x, 1 );
757-
* // returns ~0.3333
758-
*
759-
* @example
760-
* var Float32Array = require( '@stdlib/array/float32' );
761-
*
762-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
763-
*
764-
* var v = ns.smeankbn.ndarray( x.length, x, 1, 0 );
765-
* // returns ~0.3333
766-
*/
767-
smeankbn: typeof smeankbn;
768-
769742
/**
770743
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values.
771744
*

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

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

282-
/**
283-
* @name smeankbn
284-
* @memberof ns
285-
* @readonly
286-
* @type {Function}
287-
* @see {@link module:@stdlib/stats/base/smeankbn}
288-
*/
289-
setReadOnly( ns, 'smeankbn', require( '@stdlib/stats/base/smeankbn' ) );
290-
291282
/**
292283
* @name snanmean
293284
* @memberof ns

0 commit comments

Comments
 (0)