Skip to content

Commit d3acc25

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

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
@@ -48,7 +48,6 @@ import sdsnanmean = require( '@stdlib/stats/base/sdsnanmean' );
4848
import sdsnanmeanors = require( '@stdlib/stats/base/sdsnanmeanors' );
4949
import smeankbn = require( '@stdlib/stats/base/smeankbn' );
5050
import smeankbn2 = require( '@stdlib/stats/base/smeankbn2' );
51-
import smeanlipw = require( '@stdlib/stats/base/smeanlipw' );
5251
import snanmean = require( '@stdlib/stats/base/snanmean' );
5352
import snanstdev = require( '@stdlib/stats/base/snanstdev' );
5453
import snanstdevch = require( '@stdlib/stats/base/snanstdevch' );
@@ -794,32 +793,6 @@ interface Namespace {
794793
*/
795794
smeankbn2: typeof smeankbn2;
796795

797-
/**
798-
* Computes the arithmetic mean of a single-precision floating-point strided array using a one-pass trial mean algorithm with pairwise summation.
799-
*
800-
* @param N - number of indexed elements
801-
* @param x - input array
802-
* @param stride - stride length
803-
* @returns arithmetic mean
804-
*
805-
* @example
806-
* var Float32Array = require( '@stdlib/array/float32' );
807-
*
808-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
809-
*
810-
* var v = ns.smeanlipw( x.length, x, 1 );
811-
* // returns ~0.3333
812-
*
813-
* @example
814-
* var Float32Array = require( '@stdlib/array/float32' );
815-
*
816-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
817-
*
818-
* var v = ns.smeanlipw.ndarray( x.length, x, 1, 0 );
819-
* // returns ~0.3333
820-
*/
821-
smeanlipw: typeof smeanlipw;
822-
823796
/**
824797
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values.
825798
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,15 +297,6 @@ setReadOnly( ns, 'smeankbn', require( '@stdlib/stats/base/smeankbn' ) );
297297
*/
298298
setReadOnly( ns, 'smeankbn2', require( '@stdlib/stats/base/smeankbn2' ) );
299299

300-
/**
301-
* @name smeanlipw
302-
* @memberof ns
303-
* @readonly
304-
* @type {Function}
305-
* @see {@link module:@stdlib/stats/base/smeanlipw}
306-
*/
307-
setReadOnly( ns, 'smeanlipw', require( '@stdlib/stats/base/smeanlipw' ) );
308-
309300
/**
310301
* @name snanmean
311302
* @memberof ns

0 commit comments

Comments
 (0)