Skip to content

Commit e8566b4

Browse files
committed
Auto-generated commit
1 parent 6597103 commit e8566b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+230
-37
lines changed

CHANGELOG.md

+193
Original file line numberDiff line numberDiff line change
@@ -9716,6 +9716,94 @@ This release closes the following issue:
97169716

97179717
<!-- /.features -->
97189718

9719+
<section class="breaking-changes">
9720+
9721+
##### BREAKING CHANGES
9722+
9723+
- [`b98f910`](https://github.com/stdlib-js/stdlib/commit/b98f910cd6d17eca967afebb28fc3bbf6c83f3c2): remove `stats/base/dmeanwd`
9724+
9725+
- To migrate, users should update their require/import paths to use
9726+
`@stdlib/stats/strided/dmeanwd` which provides the same API and implementation.
9727+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
9728+
---
9729+
type: pre_commit_static_analysis_report
9730+
description: Results of running static analysis checks when committing changes.
9731+
report:
9732+
- task: lint_filenames
9733+
status: passed
9734+
- task: lint_editorconfig
9735+
status: passed
9736+
- task: lint_markdown
9737+
status: na
9738+
- task: lint_package_json
9739+
status: na
9740+
- task: lint_repl_help
9741+
status: na
9742+
- task: lint_javascript_src
9743+
status: na
9744+
- task: lint_javascript_cli
9745+
status: na
9746+
- task: lint_javascript_examples
9747+
status: na
9748+
- task: lint_javascript_tests
9749+
status: na
9750+
- task: lint_javascript_benchmarks
9751+
status: na
9752+
- task: lint_python
9753+
status: na
9754+
- task: lint_r
9755+
status: na
9756+
- task: lint_c_src
9757+
status: na
9758+
- task: lint_c_examples
9759+
status: na
9760+
- task: lint_c_benchmarks
9761+
status: na
9762+
- task: lint_c_tests_fixtures
9763+
status: na
9764+
- task: lint_shell
9765+
status: na
9766+
- task: lint_typescript_declarations
9767+
status: na
9768+
- task: lint_typescript_tests
9769+
status: na
9770+
- task: lint_license_headers
9771+
status: passed
9772+
---
9773+
---
9774+
type: pre_push_report
9775+
description: Results of running various checks prior to pushing changes.
9776+
report:
9777+
- task: run_javascript_examples
9778+
status: passed
9779+
- task: run_c_examples
9780+
status: passed
9781+
- task: run_cpp_examples
9782+
status: na
9783+
- task: run_javascript_readme_examples
9784+
status: passed
9785+
- task: run_c_benchmarks
9786+
status: passed
9787+
- task: run_cpp_benchmarks
9788+
status: na
9789+
- task: run_fortran_benchmarks
9790+
status: na
9791+
- task: run_javascript_benchmarks
9792+
status: passed
9793+
- task: run_julia_benchmarks
9794+
status: na
9795+
- task: run_python_benchmarks
9796+
status: na
9797+
- task: run_r_benchmarks
9798+
status: na
9799+
- task: run_javascript_tests
9800+
status: passed
9801+
---
9802+
9803+
</section>
9804+
9805+
<!-- /.breaking-changes -->
9806+
97199807
</details>
97209808

97219809
</section>
@@ -12283,6 +12371,28 @@ A total of 3 issues were closed in this release:
1228312371

1228412372
<!-- /.package -->
1228512373

12374+
<section class="package" id="stats-strided-dmeanwd-unreleased">
12375+
12376+
#### [@stdlib/stats/strided/dmeanwd](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dmeanwd)
12377+
12378+
<details>
12379+
12380+
<section class="features">
12381+
12382+
##### Features
12383+
12384+
- [`17e9eb3`](https://github.com/stdlib-js/stdlib/commit/17e9eb3a18212653fabf6a73ea2fb660d309d83a) - add `stats/strided/dmeanwd`
12385+
12386+
</section>
12387+
12388+
<!-- /.features -->
12389+
12390+
</details>
12391+
12392+
</section>
12393+
12394+
<!-- /.package -->
12395+
1228612396
</section>
1228712397

1228812398
<!-- /.packages -->
@@ -12291,6 +12401,86 @@ A total of 3 issues were closed in this release:
1229112401

1229212402
### BREAKING CHANGES
1229312403

12404+
- [`b98f910`](https://github.com/stdlib-js/stdlib/commit/b98f910cd6d17eca967afebb28fc3bbf6c83f3c2): remove `stats/base/dmeanwd`
12405+
12406+
- To migrate, users should update their require/import paths to use
12407+
`@stdlib/stats/strided/dmeanwd` which provides the same API and implementation.
12408+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
12409+
---
12410+
type: pre_commit_static_analysis_report
12411+
description: Results of running static analysis checks when committing changes.
12412+
report:
12413+
- task: lint_filenames
12414+
status: passed
12415+
- task: lint_editorconfig
12416+
status: passed
12417+
- task: lint_markdown
12418+
status: na
12419+
- task: lint_package_json
12420+
status: na
12421+
- task: lint_repl_help
12422+
status: na
12423+
- task: lint_javascript_src
12424+
status: na
12425+
- task: lint_javascript_cli
12426+
status: na
12427+
- task: lint_javascript_examples
12428+
status: na
12429+
- task: lint_javascript_tests
12430+
status: na
12431+
- task: lint_javascript_benchmarks
12432+
status: na
12433+
- task: lint_python
12434+
status: na
12435+
- task: lint_r
12436+
status: na
12437+
- task: lint_c_src
12438+
status: na
12439+
- task: lint_c_examples
12440+
status: na
12441+
- task: lint_c_benchmarks
12442+
status: na
12443+
- task: lint_c_tests_fixtures
12444+
status: na
12445+
- task: lint_shell
12446+
status: na
12447+
- task: lint_typescript_declarations
12448+
status: na
12449+
- task: lint_typescript_tests
12450+
status: na
12451+
- task: lint_license_headers
12452+
status: passed
12453+
---
12454+
---
12455+
type: pre_push_report
12456+
description: Results of running various checks prior to pushing changes.
12457+
report:
12458+
- task: run_javascript_examples
12459+
status: passed
12460+
- task: run_c_examples
12461+
status: passed
12462+
- task: run_cpp_examples
12463+
status: na
12464+
- task: run_javascript_readme_examples
12465+
status: passed
12466+
- task: run_c_benchmarks
12467+
status: passed
12468+
- task: run_cpp_benchmarks
12469+
status: na
12470+
- task: run_fortran_benchmarks
12471+
status: na
12472+
- task: run_javascript_benchmarks
12473+
status: passed
12474+
- task: run_julia_benchmarks
12475+
status: na
12476+
- task: run_python_benchmarks
12477+
status: na
12478+
- task: run_r_benchmarks
12479+
status: na
12480+
- task: run_javascript_tests
12481+
status: passed
12482+
---
12483+
1229412484
- [`353ca8c`](https://github.com/stdlib-js/stdlib/commit/353ca8cbb275ec0d0d6181a2d1b7448e9b5a6391): remove `stats/base/dmeanpw`
1229512485

1229612486
- To migrate, users should update their require/import paths to use
@@ -13363,6 +13553,9 @@ A total of 29 people contributed to this release. Thank you to the following con
1336313553

1336413554
<details>
1336513555

13556+
- [`b98f910`](https://github.com/stdlib-js/stdlib/commit/b98f910cd6d17eca967afebb28fc3bbf6c83f3c2) - **remove:** remove `stats/base/dmeanwd` _(by Aayush Khanna)_
13557+
- [`19cc365`](https://github.com/stdlib-js/stdlib/commit/19cc365c374707cee40cc7291e98e98c87314f19) - **refactor:** update paths _(by Aayush Khanna)_
13558+
- [`17e9eb3`](https://github.com/stdlib-js/stdlib/commit/17e9eb3a18212653fabf6a73ea2fb660d309d83a) - **feat:** add `stats/strided/dmeanwd` _(by Aayush Khanna)_
1336613559
- [`cf81564`](https://github.com/stdlib-js/stdlib/commit/cf81564ecc53216262182b3cde382247e079377a) - **refactor:** update `stats/base/snanstdev` native addon from C++ to C [(#5285)](https://github.com/stdlib-js/stdlib/pull/5285) _(by Prashant Kumar Yadav, Athan Reines)_
1336713560
- [`1511a4d`](https://github.com/stdlib-js/stdlib/commit/1511a4d9ca7e2552a8e6e50055cb37fe0f5d99de) - **feat:** add C ndarray interface and refactor implementation for `stats/base/dnanvariancetk` [(#4847)](https://github.com/stdlib-js/stdlib/pull/4847) _(by Prashant Kumar Yadav)_
1336813561
- [`eebd899`](https://github.com/stdlib-js/stdlib/commit/eebd899ffc0b1517c40f105e1a21252a8e31c48b) - **style:** add missing space [(#5287)](https://github.com/stdlib-js/stdlib/pull/5287) _(by Rishav Tarway)_

base/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The namespace contains the following statistical functions:
6868
- <span class="signature">[`dmeanstdevpn( N, correction, x, strideX, out, strideOut )`][@stdlib/stats/base/dmeanstdevpn]</span><span class="delimiter">: </span><span class="description">calculate the mean and standard deviation of a double-precision floating-point strided array using a two-pass algorithm.</span>
6969
- <span class="signature">[`dmeanvar( N, correction, x, strideX, out, strideOut )`][@stdlib/stats/base/dmeanvar]</span><span class="delimiter">: </span><span class="description">calculate the mean and variance of a double-precision floating-point strided array.</span>
7070
- <span class="signature">[`dmeanvarpn( N, correction, x, strideX, out, strideOut )`][@stdlib/stats/base/dmeanvarpn]</span><span class="delimiter">: </span><span class="description">calculate the mean and variance of a double-precision floating-point strided array using a two-pass algorithm.</span>
71-
- <span class="signature">[`dmeanwd( N, x, strideX )`][@stdlib/stats/base/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
71+
- <span class="signature">[`dmeanwd( N, x, strideX )`][@stdlib/stats/strided/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
7272
- <span class="signature">[`dmediansorted( N, x, strideX )`][@stdlib/stats/base/dmediansorted]</span><span class="delimiter">: </span><span class="description">calculate the median value of a sorted double-precision floating-point strided array.</span>
7373
- <span class="signature">[`dmidrange( N, x, strideX )`][@stdlib/stats/base/dmidrange]</span><span class="delimiter">: </span><span class="description">calculate the mid-range of a double-precision floating-point strided array.</span>
7474
- <span class="signature">[`dmin( N, x, strideX )`][@stdlib/stats/base/dmin]</span><span class="delimiter">: </span><span class="description">calculate the minimum value of a double-precision floating-point strided array.</span>
@@ -333,7 +333,7 @@ console.log( objectKeys( ns ) );
333333

334334
[@stdlib/stats/base/dmeanvarpn]: https://github.com/stdlib-js/stats/tree/main/base/dmeanvarpn
335335

336-
[@stdlib/stats/base/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/base/dmeanwd
336+
[@stdlib/stats/strided/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/strided/dmeanwd
337337

338338
[@stdlib/stats/base/dmediansorted]: https://github.com/stdlib-js/stats/tree/main/base/dmediansorted
339339

base/dnanmeanwd/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ int main( void ) {
313313
314314
## See Also
315315
316-
- <span class="package-name">[`@stdlib/stats/base/dmeanwd`][@stdlib/stats/base/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
316+
- <span class="package-name">[`@stdlib/stats/strided/dmeanwd`][@stdlib/stats/strided/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
317317
- <span class="package-name">[`@stdlib/stats/base/dnanmean`][@stdlib/stats/base/dnanmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values.</span>
318318
- <span class="package-name">[`@stdlib/stats/base/nanmeanwd`][@stdlib/stats/base/nanmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array, ignoring NaN values and using Welford's algorithm.</span>
319319
- <span class="package-name">[`@stdlib/stats/base/snanmeanwd`][@stdlib/stats/base/snanmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array, ignoring NaN values and using Welford's algorithm.</span>
@@ -338,7 +338,7 @@ int main( void ) {
338338
339339
<!-- <related-links> -->
340340
341-
[@stdlib/stats/base/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/base/dmeanwd
341+
[@stdlib/stats/strided/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/strided/dmeanwd
342342
343343
[@stdlib/stats/base/dnanmean]: https://github.com/stdlib-js/stats/tree/main/base/dnanmean
344344

base/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import dmeanstdev = require( './../../../base/dmeanstdev' );
3232
import dmeanstdevpn = require( './../../../base/dmeanstdevpn' );
3333
import dmeanvar = require( './../../../base/dmeanvar' );
3434
import dmeanvarpn = require( './../../../base/dmeanvarpn' );
35-
import dmeanwd = require( './../../../base/dmeanwd' );
35+
import dmeanwd = require( './../../../strided/dmeanwd' );
3636
import dmediansorted = require( './../../../base/dmediansorted' );
3737
import dmidrange = require( './../../../base/dmidrange' );
3838
import dmin = require( './../../../base/dmin' );

base/dsmeanwd/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ int main( void ) {
299299
300300
## See Also
301301
302-
- <span class="package-name">[`@stdlib/stats/base/dmeanwd`][@stdlib/stats/base/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
302+
- <span class="package-name">[`@stdlib/stats/strided/dmeanwd`][@stdlib/stats/strided/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
303303
- <span class="package-name">[`@stdlib/stats/base/dsmean`][@stdlib/stats/base/dsmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array using extended accumulation and returning an extended precision result.</span>
304304
- <span class="package-name">[`@stdlib/stats/base/dsnanmeanwd`][@stdlib/stats/base/dsnanmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array, ignoring NaN values, using Welford's algorithm with extended accumulation, and returning an extended precision result.</span>
305305
- <span class="package-name">[`@stdlib/stats/base/meanwd`][@stdlib/stats/base/meanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array using Welford's algorithm.</span>
@@ -325,7 +325,7 @@ int main( void ) {
325325
326326
<!-- <related-links> -->
327327
328-
[@stdlib/stats/base/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/base/dmeanwd
328+
[@stdlib/stats/strided/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/strided/dmeanwd
329329
330330
[@stdlib/stats/base/dsmean]: https://github.com/stdlib-js/stats/tree/main/base/dsmean
331331

base/lib/index.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,6 @@ setReadOnly( ns, 'dmeanvar', require( './../../base/dmeanvar' ) );
144144
*/
145145
setReadOnly( ns, 'dmeanvarpn', require( './../../base/dmeanvarpn' ) );
146146

147-
/**
148-
* @name dmeanwd
149-
* @memberof ns
150-
* @readonly
151-
* @type {Function}
152-
* @see {@link module:@stdlib/stats/base/dmeanwd}
153-
*/
154-
setReadOnly( ns, 'dmeanwd', require( './../../base/dmeanwd' ) );
155-
156147
/**
157148
* @name dmediansorted
158149
* @memberof ns
@@ -1926,6 +1917,15 @@ setReadOnly( ns, 'dmeanors', require( './../../strided/dmeanors' ) );
19261917
*/
19271918
setReadOnly( ns, 'dmeanpw', require( './../../strided/dmeanpw' ) );
19281919

1920+
/**
1921+
* @name dmeanwd
1922+
* @memberof ns
1923+
* @readonly
1924+
* @type {Function}
1925+
* @see {@link module:@stdlib/stats/strided/dmeanwd}
1926+
*/
1927+
setReadOnly( ns, 'dmeanwd', require( './../../strided/dmeanwd' ) );
1928+
19291929

19301930
// EXPORTS //
19311931

base/meanwd/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ var v = meanwd.ndarray( N, x, 2, 1 );
135135
## Notes
136136

137137
- If `N <= 0`, both functions return `NaN`.
138-
- Depending on the environment, the typed versions ([`dmeanwd`][@stdlib/stats/base/dmeanwd], [`smeanwd`][@stdlib/stats/base/smeanwd], etc.) are likely to be significantly more performant.
138+
- Depending on the environment, the typed versions ([`dmeanwd`][@stdlib/stats/strided/dmeanwd], [`smeanwd`][@stdlib/stats/base/smeanwd], etc.) are likely to be significantly more performant.
139139

140140
</section>
141141

@@ -191,7 +191,7 @@ console.log( v );
191191

192192
## See Also
193193

194-
- <span class="package-name">[`@stdlib/stats/base/dmeanwd`][@stdlib/stats/base/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
194+
- <span class="package-name">[`@stdlib/stats/strided/dmeanwd`][@stdlib/stats/strided/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
195195
- <span class="package-name">[`@stdlib/stats/base/mean`][@stdlib/stats/base/mean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array.</span>
196196
- <span class="package-name">[`@stdlib/stats/base/nanmeanwd`][@stdlib/stats/base/nanmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array, ignoring NaN values and using Welford's algorithm.</span>
197197
- <span class="package-name">[`@stdlib/stats/base/smeanwd`][@stdlib/stats/base/smeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array using Welford's algorithm.</span>
@@ -216,7 +216,7 @@ console.log( v );
216216

217217
<!-- <related-links> -->
218218

219-
[@stdlib/stats/base/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/base/dmeanwd
219+
[@stdlib/stats/strided/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/strided/dmeanwd
220220

221221
[@stdlib/stats/base/mean]: https://github.com/stdlib-js/stats/tree/main/base/mean
222222

base/smeanwd/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ int main( void ) {
298298
299299
## See Also
300300
301-
- <span class="package-name">[`@stdlib/stats/base/dmeanwd`][@stdlib/stats/base/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
301+
- <span class="package-name">[`@stdlib/stats/strided/dmeanwd`][@stdlib/stats/strided/dmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array using Welford's algorithm.</span>
302302
- <span class="package-name">[`@stdlib/stats/base/meanwd`][@stdlib/stats/base/meanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array using Welford's algorithm.</span>
303303
- <span class="package-name">[`@stdlib/stats/base/smean`][@stdlib/stats/base/smean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array.</span>
304304
- <span class="package-name">[`@stdlib/stats/base/snanmeanwd`][@stdlib/stats/base/snanmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array, ignoring NaN values and using Welford's algorithm.</span>
@@ -323,7 +323,7 @@ int main( void ) {
323323
324324
<!-- <related-links> -->
325325
326-
[@stdlib/stats/base/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/base/dmeanwd
326+
[@stdlib/stats/strided/dmeanwd]: https://github.com/stdlib-js/stats/tree/main/strided/dmeanwd
327327
328328
[@stdlib/stats/base/meanwd]: https://github.com/stdlib-js/stats/tree/main/base/meanwd
329329

0 commit comments

Comments
 (0)