Skip to content

Commit bb39982

Browse files
committed
Auto-generated commit
1 parent d65daac commit bb39982

File tree

7 files changed

+24
-13
lines changed

7 files changed

+24
-13
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ indent_style = tab
8686
[*.{f,f.txt}]
8787
indent_style = space
8888
indent_size = 2
89-
insert_final_newline = false
9089

9190
# Set properties for shell files:
9291
[*.{sh,sh.txt}]

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-12-24)
7+
## Unreleased (2025-02-08)
88

99
<section class="features">
1010

@@ -20,9 +20,9 @@
2020

2121
### Closed Issues
2222

23-
This release closes the following issue:
23+
A total of 2 issues were closed in this release:
2424

25-
[#3798](https://github.com/stdlib-js/stdlib/issues/3798)
25+
[#3798](https://github.com/stdlib-js/stdlib/issues/3798), [#4985](https://github.com/stdlib-js/stdlib/issues/4985)
2626

2727
</section>
2828

@@ -34,6 +34,7 @@ This release closes the following issue:
3434

3535
<details>
3636

37+
- [`d8c1025`](https://github.com/stdlib-js/stdlib/commit/d8c102519a591741b18bd7a58404f6f82145ccf8) - **chore:** refactor random number generation in `stats/base/dists/rayleigh` [(#5104)](https://github.com/stdlib-js/stdlib/pull/5104) _(by ekambains, Philipp Burckhardt)_
3738
- [`2965f8f`](https://github.com/stdlib-js/stdlib/commit/2965f8f4d1469ed76c7d9c150b39a87b62d73fbd) - **chore:** minor clean-up _(by Philipp Burckhardt)_
3839
- [`8bf8285`](https://github.com/stdlib-js/stdlib/commit/8bf8285aba0ecbd00ae145c4c5c098cd28135814) - **chore:** minor clean-up _(by Philipp Burckhardt)_
3940
- [`d7f5b56`](https://github.com/stdlib-js/stdlib/commit/d7f5b56fc072abf167bd5eb5e2163833715f2211) - **feat:** add C implementation of `stats/base/dists/rayleigh/cdf` [(#3931)](https://github.com/stdlib-js/stdlib/pull/3931) _(by Vinit Pandit, Philipp Burckhardt)_
@@ -48,10 +49,11 @@ This release closes the following issue:
4849

4950
### Contributors
5051

51-
A total of 2 people contributed to this release. Thank you to the following contributors:
52+
A total of 3 people contributed to this release. Thank you to the following contributors:
5253

5354
- Philipp Burckhardt
5455
- Vinit Pandit
56+
- ekambains
5557

5658
</section>
5759

CONTRIBUTORS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
2727
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2828
Debashis Maharana <debashismaharana7854@gmail.com>
2929
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
30+
Dev Goel <135586571+corsairier@users.noreply.github.com>
31+
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
3032
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
3133
Dominic Lim <46486515+domlimm@users.noreply.github.com>
3234
Dominik Moritz <domoritz@gmail.com>
@@ -49,6 +51,7 @@ Joey Reed <joeyrreed@gmail.com>
4951
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
5052
Joris Labie <joris.labie1@gmail.com>
5153
Justin Dennison <justin1dennison@gmail.com>
54+
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
5255
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
5356
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
5457
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
@@ -60,6 +63,7 @@ Marcus Fantham <mfantham@users.noreply.github.com>
6063
Matt Cochrane <matthew.cochrane.eng@gmail.com>
6164
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>
6265
Milan Raj <rajsite@users.noreply.github.com>
66+
Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
6367
Mohammad Kaif <mdkaifprofession@gmail.com>
6468
Momtchil Momtchev <momtchil@momtchev.com>
6569
Muhammad Haris <harriskhan047@outlook.com>
@@ -117,7 +121,7 @@ UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
117121
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
118122
Varad Gupta <varadgupta21@gmail.com>
119123
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
120-
Vivek maurya <155618190+vivekmaurya001@users.noreply.github.com>
124+
Vivek Maurya <vm8118134@gmail.com>
121125
Xiaochuan Ye <tap91624@gmail.com>
122126
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
123127
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2024 The Stdlib Authors.
1+
Copyright (c) 2016-2025 The Stdlib Authors.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ See [LICENSE][stdlib-license].
304304

305305
## Copyright
306306

307-
Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
307+
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
308308

309309
</section>
310310

benchmark/benchmark.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench-harness' );
2424
var Float64Array = require( '@stdlib/array-float64' );
25-
var randu = require( '@stdlib/random-base-randu' );
25+
var uniform = require( '@stdlib/random-base-uniform' );
2626
var isnan = require( '@stdlib/math-base-assert-is-nan' );
2727
var EPS = require( '@stdlib/constants-float64-eps' );
2828
var pkg = require( './../package.json' ).name;
@@ -42,8 +42,8 @@ bench( pkg, function benchmark( b ) {
4242
x = new Float64Array( len );
4343
sigma = new Float64Array( len );
4444
for ( i = 0; i < len; i++ ) {
45-
x[ i ] = ( randu() * 100.0 ) - 100.0;
46-
sigma[ i ] = ( randu() * 20.0 ) + EPS;
45+
x[ i ] = uniform( -100.0, 100.0 );
46+
sigma[ i ] = uniform( EPS, 20.0 );
4747
}
4848

4949
b.tic();
@@ -64,17 +64,22 @@ bench( pkg, function benchmark( b ) {
6464
bench( pkg+':factory', function benchmark( b ) {
6565
var sigma;
6666
var mycdf;
67+
var len;
6768
var x;
6869
var y;
6970
var i;
7071

7172
sigma = 4.0;
7273
mycdf = cdf.factory( sigma );
74+
len = 100;
75+
x = new Float64Array( len );
76+
for ( i = 0; i < len; i++ ) {
77+
x[ i ] = uniform( -25.0, 25.0 );
78+
}
7379

7480
b.tic();
7581
for ( i = 0; i < b.iterations; i++ ) {
76-
x = ( randu()*50.0 ) - 25.0;
77-
y = mycdf( x );
82+
y = mycdf( x[ i % len ] );
7883
if ( isnan( y ) ) {
7984
b.fail( 'should not return NaN' );
8085
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@stdlib/constants-float64-pinf": "^0.2.2",
5757
"@stdlib/math-base-special-abs": "^0.2.2",
5858
"@stdlib/random-base-randu": "^0.2.1",
59+
"@stdlib/random-base-uniform": "^0.2.1",
5960
"@stdlib/utils-try-require": "^0.2.2",
6061
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
6162
"istanbul": "^0.4.1",

0 commit comments

Comments
 (0)