Skip to content

Commit 3a971ae

Browse files
committed
remove: remove dmean from namespace
This commit removes the `dmean` symbol from the `@stdlib/stats/base` namespace due to a package migration. BREAKING CHANGE: remove `dmean` To migrate, users should access the same symbol via the `@stdlib/stats/strided` namespace. --- 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 2f6f498 commit 3a971ae

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
@@ -25,7 +25,6 @@ import cumaxabs = require( '@stdlib/stats/base/cumaxabs' );
2525
import cumin = require( '@stdlib/stats/base/cumin' );
2626
import cuminabs = require( '@stdlib/stats/base/cuminabs' );
2727
import dists = require( '@stdlib/stats/base/dists' );
28-
import dmean = require( '@stdlib/stats/base/dmean' );
2928
import dmeanpn = require( '@stdlib/stats/base/dmeanpn' );
3029
import dmeanstdev = require( '@stdlib/stats/base/dmeanstdev' );
3130
import dmeanstdevpn = require( '@stdlib/stats/base/dmeanstdevpn' );
@@ -255,32 +254,6 @@ interface Namespace {
255254
*/
256255
dists: typeof dists;
257256

258-
/**
259-
* Computes the arithmetic mean of a double-precision floating-point strided array.
260-
*
261-
* @param N - number of indexed elements
262-
* @param x - input array
263-
* @param stride - stride length
264-
* @returns arithmetic mean
265-
*
266-
* @example
267-
* var Float64Array = require( '@stdlib/array/float64' );
268-
*
269-
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
270-
*
271-
* var v = ns.dmean( x.length, x, 1 );
272-
* // returns ~0.3333
273-
*
274-
* @example
275-
* var Float64Array = require( '@stdlib/array/float64' );
276-
*
277-
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
278-
*
279-
* var v = ns.dmean.ndarray( x.length, x, 1, 0 );
280-
* // returns ~0.3333
281-
*/
282-
dmean: typeof dmean;
283-
284257
/**
285258
* Computes the arithmetic mean of a double-precision floating-point strided array using a two-pass error correction algorithm.
286259
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,6 @@ setReadOnly( ns, 'cuminabs', require( '@stdlib/stats/base/cuminabs' ) );
8181
*/
8282
setReadOnly( ns, 'dists', require( '@stdlib/stats/base/dists' ) );
8383

84-
/**
85-
* @name dmean
86-
* @memberof ns
87-
* @readonly
88-
* @type {Function}
89-
* @see {@link module:@stdlib/stats/base/dmean}
90-
*/
91-
setReadOnly( ns, 'dmean', require( '@stdlib/stats/base/dmean' ) );
92-
9384
/**
9485
* @name dmeanpn
9586
* @memberof ns

0 commit comments

Comments
 (0)