Skip to content

Commit 398107b

Browse files
committed
Auto-generated commit
1 parent 1696d29 commit 398107b

38 files changed

+222
-29
lines changed

CHANGELOG.md

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

99579957
<!-- /.bug-fixes -->
99589958

9959+
<section class="breaking-changes">
9960+
9961+
##### BREAKING CHANGES
9962+
9963+
- [`7bdfa87`](https://github.com/stdlib-js/stdlib/commit/7bdfa8781d3a06a334bd540516ae42ccc222fd45): remove `stats/base/dmidrange`
9964+
9965+
- To migrate, users should update their require/import paths to use
9966+
`@stdlib/stats/strided/dmidrange` which provides the same API and implementation.
9967+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
9968+
---
9969+
type: pre_commit_static_analysis_report
9970+
description: Results of running static analysis checks when committing changes.
9971+
report:
9972+
- task: lint_filenames
9973+
status: passed
9974+
- task: lint_editorconfig
9975+
status: passed
9976+
- task: lint_markdown
9977+
status: na
9978+
- task: lint_package_json
9979+
status: na
9980+
- task: lint_repl_help
9981+
status: na
9982+
- task: lint_javascript_src
9983+
status: na
9984+
- task: lint_javascript_cli
9985+
status: na
9986+
- task: lint_javascript_examples
9987+
status: na
9988+
- task: lint_javascript_tests
9989+
status: na
9990+
- task: lint_javascript_benchmarks
9991+
status: na
9992+
- task: lint_python
9993+
status: na
9994+
- task: lint_r
9995+
status: na
9996+
- task: lint_c_src
9997+
status: na
9998+
- task: lint_c_examples
9999+
status: na
10000+
- task: lint_c_benchmarks
10001+
status: na
10002+
- task: lint_c_tests_fixtures
10003+
status: na
10004+
- task: lint_shell
10005+
status: na
10006+
- task: lint_typescript_declarations
10007+
status: na
10008+
- task: lint_typescript_tests
10009+
status: na
10010+
- task: lint_license_headers
10011+
status: passed
10012+
---
10013+
---
10014+
type: pre_push_report
10015+
description: Results of running various checks prior to pushing changes.
10016+
report:
10017+
- task: run_javascript_examples
10018+
status: passed
10019+
- task: run_c_examples
10020+
status: passed
10021+
- task: run_cpp_examples
10022+
status: na
10023+
- task: run_javascript_readme_examples
10024+
status: passed
10025+
- task: run_c_benchmarks
10026+
status: passed
10027+
- task: run_cpp_benchmarks
10028+
status: na
10029+
- task: run_fortran_benchmarks
10030+
status: na
10031+
- task: run_javascript_benchmarks
10032+
status: passed
10033+
- task: run_julia_benchmarks
10034+
status: na
10035+
- task: run_python_benchmarks
10036+
status: na
10037+
- task: run_r_benchmarks
10038+
status: na
10039+
- task: run_javascript_tests
10040+
status: passed
10041+
---
10042+
10043+
</section>
10044+
10045+
<!-- /.breaking-changes -->
10046+
995910047
</details>
996010048

996110049
</section>
@@ -12503,6 +12591,28 @@ A total of 3 issues were closed in this release:
1250312591

1250412592
<!-- /.package -->
1250512593

12594+
<section class="package" id="stats-strided-dmidrange-unreleased">
12595+
12596+
#### [@stdlib/stats/strided/dmidrange](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dmidrange)
12597+
12598+
<details>
12599+
12600+
<section class="features">
12601+
12602+
##### Features
12603+
12604+
- [`b1eff22`](https://github.com/stdlib-js/stdlib/commit/b1eff225b0b45cddbebd5abe8b5ea98016c83f49) - add `stats/strided/dmidrange`
12605+
12606+
</section>
12607+
12608+
<!-- /.features -->
12609+
12610+
</details>
12611+
12612+
</section>
12613+
12614+
<!-- /.package -->
12615+
1250612616
</section>
1250712617

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

1251212622
### BREAKING CHANGES
1251312623

12624+
- [`7bdfa87`](https://github.com/stdlib-js/stdlib/commit/7bdfa8781d3a06a334bd540516ae42ccc222fd45): remove `stats/base/dmidrange`
12625+
12626+
- To migrate, users should update their require/import paths to use
12627+
`@stdlib/stats/strided/dmidrange` which provides the same API and implementation.
12628+
Ref: https://github.com/stdlib-js/stdlib/issues/4797
12629+
---
12630+
type: pre_commit_static_analysis_report
12631+
description: Results of running static analysis checks when committing changes.
12632+
report:
12633+
- task: lint_filenames
12634+
status: passed
12635+
- task: lint_editorconfig
12636+
status: passed
12637+
- task: lint_markdown
12638+
status: na
12639+
- task: lint_package_json
12640+
status: na
12641+
- task: lint_repl_help
12642+
status: na
12643+
- task: lint_javascript_src
12644+
status: na
12645+
- task: lint_javascript_cli
12646+
status: na
12647+
- task: lint_javascript_examples
12648+
status: na
12649+
- task: lint_javascript_tests
12650+
status: na
12651+
- task: lint_javascript_benchmarks
12652+
status: na
12653+
- task: lint_python
12654+
status: na
12655+
- task: lint_r
12656+
status: na
12657+
- task: lint_c_src
12658+
status: na
12659+
- task: lint_c_examples
12660+
status: na
12661+
- task: lint_c_benchmarks
12662+
status: na
12663+
- task: lint_c_tests_fixtures
12664+
status: na
12665+
- task: lint_shell
12666+
status: na
12667+
- task: lint_typescript_declarations
12668+
status: na
12669+
- task: lint_typescript_tests
12670+
status: na
12671+
- task: lint_license_headers
12672+
status: passed
12673+
---
12674+
---
12675+
type: pre_push_report
12676+
description: Results of running various checks prior to pushing changes.
12677+
report:
12678+
- task: run_javascript_examples
12679+
status: passed
12680+
- task: run_c_examples
12681+
status: passed
12682+
- task: run_cpp_examples
12683+
status: na
12684+
- task: run_javascript_readme_examples
12685+
status: passed
12686+
- task: run_c_benchmarks
12687+
status: passed
12688+
- task: run_cpp_benchmarks
12689+
status: na
12690+
- task: run_fortran_benchmarks
12691+
status: na
12692+
- task: run_javascript_benchmarks
12693+
status: passed
12694+
- task: run_julia_benchmarks
12695+
status: na
12696+
- task: run_python_benchmarks
12697+
status: na
12698+
- task: run_r_benchmarks
12699+
status: na
12700+
- task: run_javascript_tests
12701+
status: passed
12702+
---
12703+
1251412704
- [`5be579f`](https://github.com/stdlib-js/stdlib/commit/5be579f97ed236a30834a9f007d24778037f5f56): remove `stats/base/dmediansorted`
1251512705

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

1374413934
<details>
1374513935

13936+
- [`7bdfa87`](https://github.com/stdlib-js/stdlib/commit/7bdfa8781d3a06a334bd540516ae42ccc222fd45) - **remove:** remove `stats/base/dmidrange` _(by Aayush Khanna)_
13937+
- [`3c92159`](https://github.com/stdlib-js/stdlib/commit/3c92159d01e942d49410fbcf5f9cfb2454c90b44) - **refactor:** update paths _(by Aayush Khanna)_
13938+
- [`b1eff22`](https://github.com/stdlib-js/stdlib/commit/b1eff225b0b45cddbebd5abe8b5ea98016c83f49) - **feat:** add `stats/strided/dmidrange` _(by Aayush Khanna)_
1374613939
- [`5be579f`](https://github.com/stdlib-js/stdlib/commit/5be579f97ed236a30834a9f007d24778037f5f56) - **remove:** remove `stats/base/dmediansorted` _(by Aayush Khanna)_
1374713940
- [`e2a0e14`](https://github.com/stdlib-js/stdlib/commit/e2a0e14b16741fb85a6a0a48b9588a2617d9b8c6) - **refactor:** update paths _(by Aayush Khanna)_
1374813941
- [`031ea65`](https://github.com/stdlib-js/stdlib/commit/031ea655061741a922767d722d58011ce7ca6b79) - **feat:** add `stats/strided/dmediansorted` _(by Aayush Khanna)_

base/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The namespace contains the following statistical functions:
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>
7272
- <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>
73-
- <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>
73+
- <span class="signature">[`dmidrange( N, x, strideX )`][@stdlib/stats/strided/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>
7676
- <span class="signature">[`dminsorted( N, x, strideX )`][@stdlib/stats/base/dminsorted]</span><span class="delimiter">: </span><span class="description">calculate the minimum value of a sorted double-precision floating-point strided array.</span>
@@ -337,7 +337,7 @@ console.log( objectKeys( ns ) );
337337

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

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

342342
[@stdlib/stats/base/dmin]: https://github.com/stdlib-js/stats/tree/main/base/dmin
343343

base/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import dmeanvar = require( './../../../base/dmeanvar' );
3434
import dmeanvarpn = require( './../../../base/dmeanvarpn' );
3535
import dmeanwd = require( './../../../strided/dmeanwd' );
3636
import dmediansorted = require( './../../../strided/dmediansorted' );
37-
import dmidrange = require( './../../../base/dmidrange' );
37+
import dmidrange = require( './../../../strided/dmidrange' );
3838
import dmin = require( './../../../base/dmin' );
3939
import dminabs = require( './../../../base/dminabs' );
4040
import dminsorted = require( './../../../base/dminsorted' );

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

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

19301930
// EXPORTS //
19311931

base/smidrange/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ int main( void ) {
272272
273273
## See Also
274274
275-
- <span class="package-name">[`@stdlib/stats/base/dmidrange`][@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>
275+
- <span class="package-name">[`@stdlib/stats/strided/dmidrange`][@stdlib/stats/strided/dmidrange]</span><span class="delimiter">: </span><span class="description">calculate the mid-range of a double-precision floating-point strided array.</span>
276276
- <span class="package-name">[`@stdlib/stats/base/smax`][@stdlib/stats/base/smax]</span><span class="delimiter">: </span><span class="description">calculate the maximum value of a single-precision floating-point strided array.</span>
277277
- <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>
278278
- <span class="package-name">[`@stdlib/stats/base/smin`][@stdlib/stats/base/smin]</span><span class="delimiter">: </span><span class="description">calculate the minimum value of a single-precision floating-point strided array.</span>
@@ -294,7 +294,7 @@ int main( void ) {
294294
295295
<!-- <related-links> -->
296296
297-
[@stdlib/stats/base/dmidrange]: https://github.com/stdlib-js/stats/tree/main/base/dmidrange
297+
[@stdlib/stats/strided/dmidrange]: https://github.com/stdlib-js/stats/tree/main/strided/dmidrange
298298
299299
[@stdlib/stats/base/smax]: https://github.com/stdlib-js/stats/tree/main/base/smax
300300

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The [**mid-range**][mid-range], or **mid-extreme**, is the arithmetic mean of th
3535
## Usage
3636

3737
```javascript
38-
var dmidrange = require( '@stdlib/stats/base/dmidrange' );
38+
var dmidrange = require( '@stdlib/stats/strided/dmidrange' );
3939
```
4040

4141
#### dmidrange( N, x, strideX )
@@ -132,7 +132,7 @@ var v = dmidrange.ndarray( 4, x, 2, 1 );
132132

133133
```javascript
134134
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
135-
var dmidrange = require( '@stdlib/stats/base/dmidrange' );
135+
var dmidrange = require( '@stdlib/stats/strided/dmidrange' );
136136

137137
var x = discreteUniform( 10, -50, 50, {
138138
'dtype': 'float64'
@@ -170,7 +170,7 @@ console.log( v );
170170
### Usage
171171

172172
```c
173-
#include "stdlib/stats/base/dmidrange.h"
173+
#include "stdlib/stats/strided/dmidrange.h"
174174
```
175175

176176
#### stdlib_strided_dmidrange( N, \*X, strideX )
@@ -235,7 +235,7 @@ double stdlib_strided_dmidrange_ndarray( const CBLAS_INT N, const double *X, con
235235
### Examples
236236

237237
```c
238-
#include "stdlib/stats/base/dmidrange.h"
238+
#include "stdlib/stats/strided/dmidrange.h"
239239
#include <stdio.h>
240240

241241
int main( void ) {

base/dmidrange/benchmark/c/benchmark.length.c renamed to strided/dmidrange/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/dmidrange.h"
19+
#include "stdlib/stats/strided/dmidrange.h"
2020
#include <stdlib.h>
2121
#include <stdio.h>
2222
#include <math.h>
File renamed without changes.
File renamed without changes.

base/dmidrange/examples/c/example.c renamed to strided/dmidrange/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/dmidrange.h"
19+
#include "stdlib/stats/strided/dmidrange.h"
2020
#include <stdio.h>
2121

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

base/dmidrange/include/stdlib/stats/base/dmidrange.h renamed to strided/dmidrange/include/stdlib/stats/strided/dmidrange.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_DMIDRANGE_H
20-
#define STDLIB_STATS_BASE_DMIDRANGE_H
19+
#ifndef STDLIB_STATS_STRIDED_DMIDRANGE_H
20+
#define STDLIB_STATS_STRIDED_DMIDRANGE_H
2121

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

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

45-
#endif // !STDLIB_STATS_BASE_DMIDRANGE_H
45+
#endif // !STDLIB_STATS_STRIDED_DMIDRANGE_H
File renamed without changes.

base/dmidrange/lib/index.js renamed to strided/dmidrange/lib/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
/**
2222
* Compute the mid-range of a double-precision floating-point strided array.
2323
*
24-
* @module @stdlib/stats/base/dmidrange
24+
* @module @stdlib/stats/strided/dmidrange
2525
*
2626
* @example
2727
* var Float64Array = require( '@stdlib/array/float64' );
28-
* var dmidrange = require( '@stdlib/stats/base/dmidrange' );
28+
* var dmidrange = require( '@stdlib/stats/strided/dmidrange' );
2929
*
3030
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
3131
*
@@ -35,7 +35,7 @@
3535
* @example
3636
* var Float64Array = require( '@stdlib/array/float64' );
3737
* var floor = require( '@stdlib/math/base/special/floor' );
38-
* var dmidrange = require( '@stdlib/stats/base/dmidrange' );
38+
* var dmidrange = require( '@stdlib/stats/strided/dmidrange' );
3939
*
4040
* var x = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0 ] );
4141
*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

base/dmidrange/package.json renamed to strided/dmidrange/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/stats/base/dmidrange",
2+
"name": "@stdlib/stats/strided/dmidrange",
33
"version": "0.0.0",
44
"description": "Calculate the mid-range of a double-precision floating-point strided array.",
55
"license": "Apache-2.0",
File renamed without changes.

0 commit comments

Comments
 (0)