Skip to content

Commit c474057

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

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
@@ -31,7 +31,6 @@ import dmeanvar = require( '@stdlib/stats/base/dmeanvar' );
3131
import dmeanvarpn = require( '@stdlib/stats/base/dmeanvarpn' );
3232
import dvarm = require( '@stdlib/stats/base/dvarm' );
3333
import dvarmpn = require( '@stdlib/stats/base/dvarmpn' );
34-
import meankbn = require( '@stdlib/stats/base/meankbn' );
3534
import meanors = require( '@stdlib/stats/base/meanors' );
3635
import meanpn = require( '@stdlib/stats/base/meanpn' );
3736
import meanpw = require( '@stdlib/stats/base/meanpw' );
@@ -400,28 +399,6 @@ interface Namespace {
400399
*/
401400
dvarmpn: typeof dvarmpn;
402401

403-
/**
404-
* Computes the arithmetic mean of a strided array using an improved Kahan–Babuška algorithm.
405-
*
406-
* @param N - number of indexed elements
407-
* @param x - input array
408-
* @param stride - stride length
409-
* @returns arithmetic mean
410-
*
411-
* @example
412-
* var x = [ 1.0, -2.0, 2.0 ];
413-
*
414-
* var v = ns.meankbn( x.length, x, 1 );
415-
* // returns ~0.3333
416-
*
417-
* @example
418-
* var x = [ 1.0, -2.0, 2.0 ];
419-
*
420-
* var v = ns.meankbn.ndarray( x.length, x, 1, 0 );
421-
* // returns ~0.3333
422-
*/
423-
meankbn: typeof meankbn;
424-
425402
/**
426403
* Computes the arithmetic mean of a strided array using ordinary recursive summation.
427404
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,6 @@ setReadOnly( ns, 'dvarm', require( '@stdlib/stats/base/dvarm' ) );
135135
*/
136136
setReadOnly( ns, 'dvarmpn', require( '@stdlib/stats/base/dvarmpn' ) );
137137

138-
/**
139-
* @name meankbn
140-
* @memberof ns
141-
* @readonly
142-
* @type {Function}
143-
* @see {@link module:@stdlib/stats/base/meankbn}
144-
*/
145-
setReadOnly( ns, 'meankbn', require( '@stdlib/stats/base/meankbn' ) );
146-
147138
/**
148139
* @name meanors
149140
* @memberof ns

0 commit comments

Comments
 (0)