Skip to content

Commit 234efc6

Browse files
committed
remove: remove meankbn2 from namespace
This commit removes the `meankbn2` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `meankbn2` 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 929ba08 commit 234efc6

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

lib/node_modules/@stdlib/stats/base/docs/types/index.d.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import dmeanvarpn = require( '@stdlib/stats/base/dmeanvarpn' );
3232
import dvarm = require( '@stdlib/stats/base/dvarm' );
3333
import dvarmpn = require( '@stdlib/stats/base/dvarmpn' );
3434
import meankbn = require( '@stdlib/stats/base/meankbn' );
35-
import meankbn2 = require( '@stdlib/stats/base/meankbn2' );
3635
import meanors = require( '@stdlib/stats/base/meanors' );
3736
import meanpn = require( '@stdlib/stats/base/meanpn' );
3837
import meanpw = require( '@stdlib/stats/base/meanpw' );
@@ -423,28 +422,6 @@ interface Namespace {
423422
*/
424423
meankbn: typeof meankbn;
425424

426-
/**
427-
* Computes the arithmetic mean of a strided array using a second-order iterative Kahan–Babuška algorithm.
428-
*
429-
* @param N - number of indexed elements
430-
* @param x - input array
431-
* @param stride - stride length
432-
* @returns arithmetic mean
433-
*
434-
* @example
435-
* var x = [ 1.0, -2.0, 2.0 ];
436-
*
437-
* var v = ns.meankbn2( x.length, x, 1 );
438-
* // returns ~0.3333
439-
*
440-
* @example
441-
* var x = [ 1.0, -2.0, 2.0 ];
442-
*
443-
* var v = ns.meankbn2.ndarray( x.length, x, 1, 0 );
444-
* // returns ~0.3333
445-
*/
446-
meankbn2: typeof meankbn2;
447-
448425
/**
449426
* Computes the arithmetic mean of a strided array using ordinary recursive summation.
450427
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,6 @@ setReadOnly( ns, 'dvarmpn', require( '@stdlib/stats/base/dvarmpn' ) );
144144
*/
145145
setReadOnly( ns, 'meankbn', require( '@stdlib/stats/base/meankbn' ) );
146146

147-
/**
148-
* @name meankbn2
149-
* @memberof ns
150-
* @readonly
151-
* @type {Function}
152-
* @see {@link module:@stdlib/stats/base/meankbn2}
153-
*/
154-
setReadOnly( ns, 'meankbn2', require( '@stdlib/stats/base/meankbn2' ) );
155-
156147
/**
157148
* @name meanors
158149
* @memberof ns

0 commit comments

Comments
 (0)