Skip to content

Commit 456184e

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

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
@@ -93,7 +93,6 @@ import nanvariancewd = require( '@stdlib/stats/base/nanvariancewd' );
9393
import nanvarianceyc = require( '@stdlib/stats/base/nanvarianceyc' );
9494
import range = require( '@stdlib/stats/base/range' );
9595
import rangeBy = require( '@stdlib/stats/base/range-by' );
96-
import sdsmean = require( '@stdlib/stats/base/sdsmean' );
9796
import sdsmeanors = require( '@stdlib/stats/base/sdsmeanors' );
9897
import sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
9998
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
@@ -2112,32 +2111,6 @@ interface Namespace {
21122111
*/
21132112
rangeBy: typeof rangeBy;
21142113

2115-
/**
2116-
* Computes the arithmetic mean of a single-precision floating-point strided array using extended accumulation.
2117-
*
2118-
* @param N - number of indexed elements
2119-
* @param x - input array
2120-
* @param strideX - stride length
2121-
* @returns arithmetic mean
2122-
*
2123-
* @example
2124-
* var Float32Array = require( '@stdlib/array/float32' );
2125-
*
2126-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
2127-
*
2128-
* var v = ns.sdsmean( x.length, x, 1 );
2129-
* // returns ~0.3333
2130-
*
2131-
* @example
2132-
* var Float32Array = require( '@stdlib/array/float32' );
2133-
*
2134-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
2135-
*
2136-
* var v = ns.sdsmean.ndarray( x.length, x, 1, 0 );
2137-
* // returns ~0.3333
2138-
*/
2139-
sdsmean: typeof sdsmean;
2140-
21412114
/**
21422115
* Computes the arithmetic mean of a single-precision floating-point strided array using ordinary recursive summation with extended accumulation.
21432116
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -693,15 +693,6 @@ setReadOnly( ns, 'range', require( '@stdlib/stats/base/range' ) );
693693
*/
694694
setReadOnly( ns, 'rangeBy', require( '@stdlib/stats/base/range-by' ) );
695695

696-
/**
697-
* @name sdsmean
698-
* @memberof ns
699-
* @readonly
700-
* @type {Function}
701-
* @see {@link module:@stdlib/stats/base/sdsmean}
702-
*/
703-
setReadOnly( ns, 'sdsmean', require( '@stdlib/stats/base/sdsmean' ) );
704-
705696
/**
706697
* @name sdsmeanors
707698
* @memberof ns

0 commit comments

Comments
 (0)