Skip to content

Commit 090426f

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

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

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

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ import stdevtk = require( '@stdlib/stats/base/stdevtk' );
7979
import stdevwd = require( '@stdlib/stats/base/stdevwd' );
8080
import stdevyc = require( '@stdlib/stats/base/stdevyc' );
8181
import svariance = require( '@stdlib/stats/base/svariance' );
82-
import svariancewd = require( '@stdlib/stats/base/svariancewd' );
8382
import variance = require( '@stdlib/stats/base/variance' );
8483
import variancech = require( '@stdlib/stats/base/variancech' );
8584
import variancepn = require( '@stdlib/stats/base/variancepn' );
@@ -1611,33 +1610,6 @@ interface Namespace {
16111610
*/
16121611
svariance: typeof svariance;
16131612

1614-
/**
1615-
* Computes the variance of a single-precision floating-point strided array using Welford's algorithm.
1616-
*
1617-
* @param N - number of indexed elements
1618-
* @param correction - degrees of freedom adjustment
1619-
* @param x - input array
1620-
* @param stride - stride length
1621-
* @returns variance
1622-
*
1623-
* @example
1624-
* var Float32Array = require( '@stdlib/array/float32' );
1625-
*
1626-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
1627-
*
1628-
* var v = ns.svariancewd( x.length, 1, x, 1 );
1629-
* // returns ~4.3333
1630-
*
1631-
* @example
1632-
* var Float32Array = require( '@stdlib/array/float32' );
1633-
*
1634-
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
1635-
*
1636-
* var v = ns.svariancewd.ndarray( x.length, 1, x, 1, 0 );
1637-
* // returns ~4.3333
1638-
*/
1639-
svariancewd: typeof svariancewd;
1640-
16411613
/**
16421614
* Computes the variance of a strided array.
16431615
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -576,15 +576,6 @@ setReadOnly( ns, 'stdevyc', require( '@stdlib/stats/base/stdevyc' ) );
576576
*/
577577
setReadOnly( ns, 'svariance', require( '@stdlib/stats/base/svariance' ) );
578578

579-
/**
580-
* @name svariancewd
581-
* @memberof ns
582-
* @readonly
583-
* @type {Function}
584-
* @see {@link module:@stdlib/stats/base/svariancewd}
585-
*/
586-
setReadOnly( ns, 'svariancewd', require( '@stdlib/stats/base/svariancewd' ) );
587-
588579
/**
589580
* @name variance
590581
* @memberof ns

0 commit comments

Comments
 (0)