Skip to content

Commit 311d312

Browse files
committed
Auto-generated commit
1 parent 796ced5 commit 311d312

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191+
192+
# Cursor #
193+
##########
194+
.cursorignore

CHANGELOG.md

Lines changed: 7 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 (2025-02-09)
7+
## Unreleased (2025-02-18)
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-
[#3741](https://github.com/stdlib-js/stdlib/issues/3741)
25+
[#3741](https://github.com/stdlib-js/stdlib/issues/3741), [#4978](https://github.com/stdlib-js/stdlib/issues/4978)
2626

2727
</section>
2828

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

3535
<details>
3636

37+
- [`0d255bc`](https://github.com/stdlib-js/stdlib/commit/0d255bc39e0a122554fbc972be6c0973abb2c48a) - **bench:** refactor random number generation in JS benchmarks for `stats/base/dists/logistic` [(#5139)](https://github.com/stdlib-js/stdlib/pull/5139) _(by GK Bishnoi, Gopi Kishan)_
3738
- [`d53a818`](https://github.com/stdlib-js/stdlib/commit/d53a8184c029c3df7c45a7a1a2da9ff90b4f883e) - **docs:** fix errors in the structure of READMEs in `stats/base/*` [(#5138)](https://github.com/stdlib-js/stdlib/pull/5138) _(by Aayush Khanna)_
3839
- [`f3df15f`](https://github.com/stdlib-js/stdlib/commit/f3df15f118d563573f27d2d2b96e35b842f05a18) - **chore:** directly draw from the desired distribution instead of adding constants _(by Philipp Burckhardt)_
3940
- [`fc0ff17`](https://github.com/stdlib-js/stdlib/commit/fc0ff171dab59e73e1748c1bff504166adc826c3) - **chore:** directly draw from the desired distribution instead of adding constants _(by Philipp Burckhardt)_
@@ -51,9 +52,11 @@ This release closes the following issue:
5152

5253
### Contributors
5354

54-
A total of 3 people contributed to this release. Thank you to the following contributors:
55+
A total of 5 people contributed to this release. Thank you to the following contributors:
5556

5657
- Aayush Khanna
58+
- GK Bishnoi
59+
- Gopi Kishan
5760
- Philipp Burckhardt
5861
- Prashant Kumar Yadav
5962

CONTRIBUTORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ Dominik Moritz <[email protected]>
3535
Dorrin Sotoudeh <[email protected]>
3636
EuniceSim142 <[email protected]>
3737
Frank Kovacs <[email protected]>
38+
GK Bishnoi <[email protected]>
39+
3840
Golden Kumar <[email protected]>
3941
Gunj Joshi <[email protected]>
4042
Gururaj Gurram <[email protected]>
43+
4144
4245
Harshita Kalani <[email protected]>
4346
Hridyanshu <[email protected]>
@@ -101,6 +104,7 @@ Sai Srikar Dumpeti <[email protected]>
101104
Sarthak Paandey <[email protected]>
102105
Saurabh Singh <[email protected]>
103106
Seyyed Parsa Neshaei <[email protected]>
107+
Shabareesh Shetty <[email protected]>
104108
Shashank Shekhar Singh <[email protected]>
105109
Shivam Ahir <[email protected]>
106110
Shraddheya Shendre <[email protected]>
@@ -125,6 +129,7 @@ Vivek Maurya <[email protected]>
125129
Xiaochuan Ye <[email protected]>
126130
Yaswanth Kosuru <[email protected]>
127131
Yernar Yergaziyev <[email protected]>
132+
Yuvi Mittal <[email protected]>
128133
ekambains <[email protected]>
129134
olenkabilonizhka <[email protected]>
130135
pranav-1720 <[email protected]>

benchmark/benchmark.js

Lines changed: 3 additions & 3 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
mu = new Float64Array( len );
4343
s = new Float64Array( len );
4444
for ( i = 0; i < len; i++ ) {
45-
mu[ i ] = ( randu() * 100.0 ) - 50.0;
46-
s[ i ] = ( randu() * 20.0 ) + EPS;
45+
mu[ i ] = uniform( -50.0, 50.0 );
46+
s[ i ] = uniform( EPS, 20.0 );
4747
}
4848

4949
b.tic();

benchmark/benchmark.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
var resolve = require( 'path' ).resolve;
2424
var bench = require( '@stdlib/bench-harness' );
2525
var Float64Array = require( '@stdlib/array-float64' );
26+
var uniform = require( '@stdlib/random-base-uniform' );
2627
var tryRequire = require( '@stdlib/utils-try-require' );
27-
var randu = require( '@stdlib/random-base-randu' );
2828
var isnan = require( '@stdlib/math-base-assert-is-nan' );
2929
var EPS = require( '@stdlib/constants-float64-eps' );
3030
var pkg = require( './../package.json' ).name;
@@ -51,8 +51,8 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5151
mu = new Float64Array( len );
5252
s = new Float64Array( len );
5353
for ( i = 0; i < len; i++ ) {
54-
mu[ i ] = ( randu() * 100.0 ) - 50.0;
55-
s[ i ] = ( randu() * 20.0 ) + EPS;
54+
mu[ i ] = uniform( -50.0, 50.0 );
55+
s[ i ] = uniform( EPS, 20.0 );
5656
}
5757

5858
b.tic();

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"@stdlib/constants-float64-pinf": "^0.2.2",
5252
"@stdlib/math-base-special-abs": "^0.2.2",
5353
"@stdlib/random-base-randu": "^0.2.1",
54+
"@stdlib/random-base-uniform": "^0.2.1",
5455
"@stdlib/utils-try-require": "^0.2.2",
5556
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5657
"istanbul": "^0.4.1",

0 commit comments

Comments
 (0)