Skip to content

Commit 1696d29

Browse files
committed
Auto-generated commit
1 parent e8566b4 commit 1696d29

39 files changed

+224
-31
lines changed

CHANGELOG.md

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

98379837
<!-- /.bug-fixes -->
98389838

9839+
<section class="breaking-changes">
9840+
9841+
##### BREAKING CHANGES
9842+
9843+
- [`5be579f`](https://github.com/stdlib-js/stdlib/commit/5be579f97ed236a30834a9f007d24778037f5f56): remove `stats/base/dmediansorted`
9844+
9845+
- To migrate, users should update their require/import paths to use
9846+
`@stdlib/stats/strided/dmediansorted` which provides the same API and implementation.
9847+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
9848+
---
9849+
type: pre_commit_static_analysis_report
9850+
description: Results of running static analysis checks when committing changes.
9851+
report:
9852+
- task: lint_filenames
9853+
status: passed
9854+
- task: lint_editorconfig
9855+
status: passed
9856+
- task: lint_markdown
9857+
status: na
9858+
- task: lint_package_json
9859+
status: na
9860+
- task: lint_repl_help
9861+
status: na
9862+
- task: lint_javascript_src
9863+
status: na
9864+
- task: lint_javascript_cli
9865+
status: na
9866+
- task: lint_javascript_examples
9867+
status: na
9868+
- task: lint_javascript_tests
9869+
status: na
9870+
- task: lint_javascript_benchmarks
9871+
status: na
9872+
- task: lint_python
9873+
status: na
9874+
- task: lint_r
9875+
status: na
9876+
- task: lint_c_src
9877+
status: na
9878+
- task: lint_c_examples
9879+
status: na
9880+
- task: lint_c_benchmarks
9881+
status: na
9882+
- task: lint_c_tests_fixtures
9883+
status: na
9884+
- task: lint_shell
9885+
status: na
9886+
- task: lint_typescript_declarations
9887+
status: na
9888+
- task: lint_typescript_tests
9889+
status: na
9890+
- task: lint_license_headers
9891+
status: passed
9892+
---
9893+
---
9894+
type: pre_push_report
9895+
description: Results of running various checks prior to pushing changes.
9896+
report:
9897+
- task: run_javascript_examples
9898+
status: passed
9899+
- task: run_c_examples
9900+
status: passed
9901+
- task: run_cpp_examples
9902+
status: na
9903+
- task: run_javascript_readme_examples
9904+
status: passed
9905+
- task: run_c_benchmarks
9906+
status: passed
9907+
- task: run_cpp_benchmarks
9908+
status: na
9909+
- task: run_fortran_benchmarks
9910+
status: na
9911+
- task: run_javascript_benchmarks
9912+
status: passed
9913+
- task: run_julia_benchmarks
9914+
status: na
9915+
- task: run_python_benchmarks
9916+
status: na
9917+
- task: run_r_benchmarks
9918+
status: na
9919+
- task: run_javascript_tests
9920+
status: passed
9921+
---
9922+
9923+
</section>
9924+
9925+
<!-- /.breaking-changes -->
9926+
98399927
</details>
98409928

98419929
</section>
@@ -12393,6 +12481,28 @@ A total of 3 issues were closed in this release:
1239312481

1239412482
<!-- /.package -->
1239512483

12484+
<section class="package" id="stats-strided-dmediansorted-unreleased">
12485+
12486+
#### [@stdlib/stats/strided/dmediansorted](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dmediansorted)
12487+
12488+
<details>
12489+
12490+
<section class="features">
12491+
12492+
##### Features
12493+
12494+
- [`031ea65`](https://github.com/stdlib-js/stdlib/commit/031ea655061741a922767d722d58011ce7ca6b79) - add `stats/strided/dmediansorted`
12495+
12496+
</section>
12497+
12498+
<!-- /.features -->
12499+
12500+
</details>
12501+
12502+
</section>
12503+
12504+
<!-- /.package -->
12505+
1239612506
</section>
1239712507

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

1240212512
### BREAKING CHANGES
1240312513

12514+
- [`5be579f`](https://github.com/stdlib-js/stdlib/commit/5be579f97ed236a30834a9f007d24778037f5f56): remove `stats/base/dmediansorted`
12515+
12516+
- To migrate, users should update their require/import paths to use
12517+
`@stdlib/stats/strided/dmediansorted` which provides the same API and implementation.
12518+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
12519+
---
12520+
type: pre_commit_static_analysis_report
12521+
description: Results of running static analysis checks when committing changes.
12522+
report:
12523+
- task: lint_filenames
12524+
status: passed
12525+
- task: lint_editorconfig
12526+
status: passed
12527+
- task: lint_markdown
12528+
status: na
12529+
- task: lint_package_json
12530+
status: na
12531+
- task: lint_repl_help
12532+
status: na
12533+
- task: lint_javascript_src
12534+
status: na
12535+
- task: lint_javascript_cli
12536+
status: na
12537+
- task: lint_javascript_examples
12538+
status: na
12539+
- task: lint_javascript_tests
12540+
status: na
12541+
- task: lint_javascript_benchmarks
12542+
status: na
12543+
- task: lint_python
12544+
status: na
12545+
- task: lint_r
12546+
status: na
12547+
- task: lint_c_src
12548+
status: na
12549+
- task: lint_c_examples
12550+
status: na
12551+
- task: lint_c_benchmarks
12552+
status: na
12553+
- task: lint_c_tests_fixtures
12554+
status: na
12555+
- task: lint_shell
12556+
status: na
12557+
- task: lint_typescript_declarations
12558+
status: na
12559+
- task: lint_typescript_tests
12560+
status: na
12561+
- task: lint_license_headers
12562+
status: passed
12563+
---
12564+
---
12565+
type: pre_push_report
12566+
description: Results of running various checks prior to pushing changes.
12567+
report:
12568+
- task: run_javascript_examples
12569+
status: passed
12570+
- task: run_c_examples
12571+
status: passed
12572+
- task: run_cpp_examples
12573+
status: na
12574+
- task: run_javascript_readme_examples
12575+
status: passed
12576+
- task: run_c_benchmarks
12577+
status: passed
12578+
- task: run_cpp_benchmarks
12579+
status: na
12580+
- task: run_fortran_benchmarks
12581+
status: na
12582+
- task: run_javascript_benchmarks
12583+
status: passed
12584+
- task: run_julia_benchmarks
12585+
status: na
12586+
- task: run_python_benchmarks
12587+
status: na
12588+
- task: run_r_benchmarks
12589+
status: na
12590+
- task: run_javascript_tests
12591+
status: passed
12592+
---
12593+
1240412594
- [`b98f910`](https://github.com/stdlib-js/stdlib/commit/b98f910cd6d17eca967afebb28fc3bbf6c83f3c2): remove `stats/base/dmeanwd`
1240512595

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

1355413744
<details>
1355513745

13746+
- [`5be579f`](https://github.com/stdlib-js/stdlib/commit/5be579f97ed236a30834a9f007d24778037f5f56) - **remove:** remove `stats/base/dmediansorted` _(by Aayush Khanna)_
13747+
- [`e2a0e14`](https://github.com/stdlib-js/stdlib/commit/e2a0e14b16741fb85a6a0a48b9588a2617d9b8c6) - **refactor:** update paths _(by Aayush Khanna)_
13748+
- [`031ea65`](https://github.com/stdlib-js/stdlib/commit/031ea655061741a922767d722d58011ce7ca6b79) - **feat:** add `stats/strided/dmediansorted` _(by Aayush Khanna)_
1355613749
- [`b98f910`](https://github.com/stdlib-js/stdlib/commit/b98f910cd6d17eca967afebb28fc3bbf6c83f3c2) - **remove:** remove `stats/base/dmeanwd` _(by Aayush Khanna)_
1355713750
- [`19cc365`](https://github.com/stdlib-js/stdlib/commit/19cc365c374707cee40cc7291e98e98c87314f19) - **refactor:** update paths _(by Aayush Khanna)_
1355813751
- [`17e9eb3`](https://github.com/stdlib-js/stdlib/commit/17e9eb3a18212653fabf6a73ea2fb660d309d83a) - **feat:** add `stats/strided/dmeanwd` _(by Aayush Khanna)_

base/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The namespace contains the following statistical functions:
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>
7171
- <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>
72-
- <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>
72+
- <span class="signature">[`dmediansorted( N, x, strideX )`][@stdlib/stats/strided/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>
7575
- <span class="signature">[`dminabs( N, x, strideX )`][@stdlib/stats/base/dminabs]</span><span class="delimiter">: </span><span class="description">calculate the minimum absolute value of a double-precision floating-point strided array.</span>
@@ -335,7 +335,7 @@ console.log( objectKeys( ns ) );
335335

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

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

340340
[@stdlib/stats/base/dmidrange]: https://github.com/stdlib-js/stats/tree/main/base/dmidrange
341341

base/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import dmeanstdevpn = require( './../../../base/dmeanstdevpn' );
3333
import dmeanvar = require( './../../../base/dmeanvar' );
3434
import dmeanvarpn = require( './../../../base/dmeanvarpn' );
3535
import dmeanwd = require( './../../../strided/dmeanwd' );
36-
import dmediansorted = require( './../../../base/dmediansorted' );
36+
import dmediansorted = require( './../../../strided/dmediansorted' );
3737
import dmidrange = require( './../../../base/dmidrange' );
3838
import dmin = require( './../../../base/dmin' );
3939
import dminabs = require( './../../../base/dminabs' );

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

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

19301930
// EXPORTS //
19311931

base/mediansorted/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ console.log( v );
162162

163163
## See Also
164164

165-
- <span class="package-name">[`@stdlib/stats/base/dmediansorted`][@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>
165+
- <span class="package-name">[`@stdlib/stats/strided/dmediansorted`][@stdlib/stats/strided/dmediansorted]</span><span class="delimiter">: </span><span class="description">calculate the median value of a sorted double-precision floating-point strided array.</span>
166166
- <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>
167167
- <span class="package-name">[`@stdlib/stats/base/smediansorted`][@stdlib/stats/base/smediansorted]</span><span class="delimiter">: </span><span class="description">calculate the median value of a sorted single-precision floating-point strided array.</span>
168168

@@ -180,7 +180,7 @@ console.log( v );
180180

181181
<!-- <related-links> -->
182182

183-
[@stdlib/stats/base/dmediansorted]: https://github.com/stdlib-js/stats/tree/main/base/dmediansorted
183+
[@stdlib/stats/strided/dmediansorted]: https://github.com/stdlib-js/stats/tree/main/strided/dmediansorted
184184

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

base/smediansorted/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ int main( void ) {
275275
276276
## See Also
277277
278-
- <span class="package-name">[`@stdlib/stats/base/dmediansorted`][@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>
278+
- <span class="package-name">[`@stdlib/stats/strided/dmediansorted`][@stdlib/stats/strided/dmediansorted]</span><span class="delimiter">: </span><span class="description">calculate the median value of a sorted double-precision floating-point strided array.</span>
279279
- <span class="package-name">[`@stdlib/stats/base/mediansorted`][@stdlib/stats/base/mediansorted]</span><span class="delimiter">: </span><span class="description">calculate the median value of a sorted strided array.</span>
280280
- <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>
281281
@@ -293,7 +293,7 @@ int main( void ) {
293293
294294
<!-- <related-links> -->
295295
296-
[@stdlib/stats/base/dmediansorted]: https://github.com/stdlib-js/stats/tree/main/base/dmediansorted
296+
[@stdlib/stats/strided/dmediansorted]: https://github.com/stdlib-js/stats/tree/main/strided/dmediansorted
297297
298298
[@stdlib/stats/base/mediansorted]: https://github.com/stdlib-js/stats/tree/main/base/mediansorted
299299

base/dmediansorted/README.md renamed to strided/dmediansorted/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ limitations under the License.
3333
## Usage
3434

3535
```javascript
36-
var dmediansorted = require( '@stdlib/stats/base/dmediansorted' );
36+
var dmediansorted = require( '@stdlib/stats/strided/dmediansorted' );
3737
```
3838

3939
#### dmediansorted( N, x, strideX )
@@ -134,7 +134,7 @@ var v = dmediansorted.ndarray( 4, x, 2, 1 );
134134

135135
```javascript
136136
var linspace = require( '@stdlib/array/linspace' );
137-
var dmediansorted = require( '@stdlib/stats/base/dmediansorted' );
137+
var dmediansorted = require( '@stdlib/stats/strided/dmediansorted' );
138138

139139
var options = {
140140
'dtype': 'float64'
@@ -173,7 +173,7 @@ console.log( v );
173173
### Usage
174174

175175
```c
176-
#include "stdlib/stats/base/dmediansorted.h"
176+
#include "stdlib/stats/strided/dmediansorted.h"
177177
```
178178

179179
#### stdlib_strided_dmediansorted( N, \*X, strideX )
@@ -238,7 +238,7 @@ double stdlib_strided_dmediansorted_ndarray( const CBLAS_INT N, const double *X,
238238
### Examples
239239

240240
```c
241-
#include "stdlib/stats/base/dmediansorted.h"
241+
#include "stdlib/stats/strided/dmediansorted.h"
242242
#include <stdio.h>
243243

244244
int main( void ) {

base/dmediansorted/benchmark/c/benchmark.length.c renamed to strided/dmediansorted/benchmark/c/benchmark.length.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "stdlib/stats/base/dmediansorted.h"
19+
#include "stdlib/stats/strided/dmediansorted.h"
2020
#include <stdlib.h>
2121
#include <stdio.h>
2222
#include <math.h>
File renamed without changes.

base/dmediansorted/examples/c/example.c renamed to strided/dmediansorted/examples/c/example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "stdlib/stats/base/dmediansorted.h"
19+
#include "stdlib/stats/strided/dmediansorted.h"
2020
#include <stdio.h>
2121

2222
int main( void ) {
File renamed without changes.

base/dmediansorted/include/stdlib/stats/base/dmediansorted.h renamed to strided/dmediansorted/include/stdlib/stats/strided/dmediansorted.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#ifndef STDLIB_STATS_BASE_DMEDIANSORTED_H
20-
#define STDLIB_STATS_BASE_DMEDIANSORTED_H
19+
#ifndef STDLIB_STATS_STRIDED_DMEDIANSORTED_H
20+
#define STDLIB_STATS_STRIDED_DMEDIANSORTED_H
2121

2222
#include "stdlib/blas/base/shared.h"
2323

@@ -42,4 +42,4 @@ double API_SUFFIX(stdlib_strided_dmediansorted_ndarray)( const CBLAS_INT N, cons
4242
}
4343
#endif
4444

45-
#endif // !STDLIB_STATS_BASE_DMEDIANSORTED_H
45+
#endif // !STDLIB_STATS_STRIDED_DMEDIANSORTED_H

0 commit comments

Comments
 (0)