Skip to content

Commit e78f90d

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

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
@@ -47,7 +47,6 @@ import rangeBy = require( '@stdlib/stats/base/range-by' );
4747
import sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
4848
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
4949
import smeankbn = require( '@stdlib/stats/base/smeankbn' );
50-
import smeankbn2 = require( '@stdlib/stats/base/smeankbn2' );
5150
import snanmean = require( '@stdlib/stats/base/snanmean' );
5251
import snanstdev = require( '@stdlib/stats/base/snanstdev' );
5352
import snanstdevch = require( '@stdlib/stats/base/snanstdevch' );
@@ -767,32 +766,6 @@ interface Namespace {
767766
*/
768767
smeankbn: typeof smeankbn;
769768

770-
/**
771-
* Computes the arithmetic mean of a single-precision floating-point strided array using a second-order iterative Kahan–Babuška algorithm.
772-
*
773-
* @param N - number of indexed elements
774-
* @param x - input array
775-
* @param stride - stride length
776-
* @returns arithmetic mean
777-
*
778-
* @example
779-
* var Float32Array = require( '@stdlib/array/float32' );
780-
*
781-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
782-
*
783-
* var v = ns.smeankbn2( x.length, x, 1 );
784-
* // returns ~0.3333
785-
*
786-
* @example
787-
* var Float32Array = require( '@stdlib/array/float32' );
788-
*
789-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
790-
*
791-
* var v = ns.smeankbn2.ndarray( x.length, x, 1, 0 );
792-
* // returns ~0.3333
793-
*/
794-
smeankbn2: typeof smeankbn2;
795-
796769
/**
797770
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values.
798771
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,6 @@ setReadOnly( ns, 'sdsnanmeanors', require( '@stdlib/stats/base/sdsnanmeanors' )
288288
*/
289289
setReadOnly( ns, 'smeankbn', require( '@stdlib/stats/base/smeankbn' ) );
290290

291-
/**
292-
* @name smeankbn2
293-
* @memberof ns
294-
* @readonly
295-
* @type {Function}
296-
* @see {@link module:@stdlib/stats/base/smeankbn2}
297-
*/
298-
setReadOnly( ns, 'smeankbn2', require( '@stdlib/stats/base/smeankbn2' ) );
299-
300291
/**
301292
* @name snanmean
302293
* @memberof ns

0 commit comments

Comments
 (0)