Skip to content

Commit 72fc577

Browse files
committed
Auto-generated commit
1 parent 9e40c14 commit 72fc577

File tree

10 files changed

+169
-132
lines changed

10 files changed

+169
-132
lines changed

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

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

7-
## Unreleased (2025-06-16)
7+
## Unreleased (2025-10-20)
88

99
<section class="features">
1010

@@ -34,8 +34,12 @@ A total of 2 issues were closed in this release:
3434

3535
<details>
3636

37+
- [`e4be7f9`](https://github.com/stdlib-js/stdlib/commit/e4be7f953df25fba01efe2355dd82208023a00f6) - **docs:** replace manual `for` loop in examples [(#8259)](https://github.com/stdlib-js/stdlib/pull/8259) _(by Harsh Yadav)_
38+
- [`fc438e0`](https://github.com/stdlib-js/stdlib/commit/fc438e0edbad0689d6923d6f3edb959b96597662) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
39+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
40+
- [`9c21fd2`](https://github.com/stdlib-js/stdlib/commit/9c21fd20ef8b8a6a88abb96d80ea6d8e4c5434eb) - **test:** use .strictEqual() instead of .equal() _(by Philipp Burckhardt)_
3741
- [`d6c156f`](https://github.com/stdlib-js/stdlib/commit/d6c156fb4a5ad2029b7743d9141313de1a0ec77e) - **feat:** add C implementation for `stats/base/dists/logistic/pdf` [(#4357)](https://github.com/stdlib-js/stdlib/pull/4357) _(by Dhruv Arvind Singh, Philipp Burckhardt, stdlib-bot)_
38-
- [`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)_
42+
- [`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 Gopi Kishan, Gopi Kishan)_
3943

4044
</details>
4145

@@ -50,8 +54,8 @@ A total of 2 issues were closed in this release:
5054
A total of 4 people contributed to this release. Thank you to the following contributors:
5155

5256
- Dhruv Arvind Singh
53-
- GK Bishnoi
5457
- Gopi Kishan
58+
- Harsh Yadav
5559
- Philipp Burckhardt
5660

5761
</section>

CONTRIBUTORS

Lines changed: 72 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,102 +3,121 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <[email protected]>
6-
Aarya Balwadkar <[email protected].com>
6+
Aarya Balwadkar <aaryabalwadkar2005@gmail.com>
77
Aayush Khanna <[email protected]>
88
Abdelrahman Samir <[email protected]>
99
Abdul Kaium <[email protected]>
1010
Abhay Punia <[email protected]>
1111
Abhijit Raut <[email protected]>
12+
Abhishek G <[email protected]>
1213
Abhishek Jain <[email protected]>
1314
Adarsh Palaskar <[email protected]>
1415
Aditya Sapra <[email protected]>
16+
Aditya Singh <[email protected]>
1517
Ahmed Atwa <[email protected]>
1618
Ahmed Kashkoush <[email protected]>
1719
Ahmed Khaled <[email protected]>
1820
Aksshay Balasubramanian <[email protected]>
1921
Aleksandr <[email protected]>
2022
Ali Salesi <[email protected]>
21-
AlyAbdelmoneim <[email protected]>
22-
Aman Bhansali <[email protected]>
23-
AmanBhadkariya <[email protected].com>
24-
Amisha Chhajed <[email protected].com>
23+
Aly Abdelmoneim <[email protected]>
24+
Aman Bhadkariya <[email protected]>
25+
Aman Bhansali <amanbhansali65@gmail.com>
26+
Amisha Chhajed <amishhhaaaa@gmail.com>
2527
Amit Jimiwal <[email protected]>
28+
Anmol Sah <[email protected]>
2629
Annamalai Prabu <[email protected]>
27-
Anshu Kumar <[email protected]>
2830
Anshu Kumar <[email protected]>
31+
Anshuman Singh <[email protected]>
2932
Anudeep Sanapala <[email protected]>
33+
Arihant Pal <[email protected]>
3034
Aryan Bhirud <[email protected]>
35+
3136
Athan Reines <[email protected]>
32-
33-
Bhavishy Agrawal <[email protected]>
37+
Atharva Patil <[email protected]>
38+
Bhavishy Agrawal <[email protected]>
39+
Bhupesh Kumar <[email protected]>
3440
Brendan Graetz <[email protected]>
3541
Bruno Fenzl <[email protected]>
3642
Bryan Elee <[email protected]>
3743
Chinmay Joshi <[email protected]>
3844
Christopher Dambamuromo <[email protected]>
3945
46+
Daniel Hernandez Gomez <[email protected]>
4047
Daniel Killenberger <[email protected]>
4148
Daniel Yu <[email protected]>
4249
Debashis Maharana <[email protected]>
43-
Deep Trivedi <[email protected].com>
50+
Deep Trivedi <deepbtrivedi04@gmail.com>
4451
Deepak Singh <[email protected]>
45-
Desh Deepak Kant <[email protected]>
52+
Deepak Singh <[email protected]>
53+
Desh Deepak Kant <[email protected]>
4654
47-
Dhanyabad behera <[email protected]>
55+
Devshree Bhati <[email protected]>
56+
Dhanyabad Behera <[email protected]>
4857
Dhruv Arvind Singh <[email protected]>
49-
Dhruvil Mehta <[email protected]>
50-
Dipjyoti Das <[email protected]>
51-
Divyansh Seth <[email protected]>
58+
Dhruvil Mehta <[email protected]>
59+
Dipjyoti Das <[email protected]>
60+
61+
Divyansh Seth <[email protected]>
5262
Dominic Lim <[email protected]>
5363
Dominik Moritz <[email protected]>
5464
Dorrin Sotoudeh <[email protected]>
55-
EuniceSim142 <[email protected]>
65+
Dudhat Hemil Pravinkumar <[email protected]>
66+
Ekampreet Singh Bains <[email protected]>
67+
Eunice Sim <[email protected]>
68+
5669
Frank Kovacs <[email protected]>
57-
GK Bishnoi <[email protected]>
58-
GURU PRASAD SHARMA <[email protected]>
59-
70+
Gaurav Jadhav <[email protected]>
71+
Gaurav Kaushik <[email protected]>
6072
Gautam Kaushik <[email protected]>
6173
Gautam sharma <[email protected]>
74+
Geo Daoyu <[email protected]>
6275
Girish Garg <[email protected]>
76+
Gitty Harsha <[email protected]>
6377
Golden Kumar <[email protected]>
78+
Gopi Kishan <[email protected]>
6479
Gunj Joshi <[email protected]>
80+
Guru Prasad Sharma <[email protected]>
6581
Gururaj Gurram <[email protected]>
82+
Harishchandra Reddy <[email protected]>
6683
Haroon Rasheed <[email protected]>
67-
68-
84+
Harsh Yadav <[email protected]>
6985
Harshita Kalani <[email protected]>
7086
Hemang Choudhary <[email protected]>
7187
Hemant M Mehta <[email protected]>
7288
Hridyanshu <[email protected]>
89+
Iryna Andrushko <[email protected]>
7390
Jaimin Godhani <[email protected]>
74-
Jaison D Souza <[email protected].com>
91+
Jaison Dsouza <jaisondz9360@gmail.com>
7592
Jalaj Kumar <[email protected]>
7693
James Gelok <[email protected]>
7794
7895
Jaysukh Makvana <[email protected]>
96+
7997
Jenish Thapa <[email protected]>
8098
Jithin KS <[email protected]>
8199
Joel Mathew Koshy <[email protected]>
82100
Joey Reed <[email protected]>
83101
Jordan Gallivan <[email protected]>
84102
Joris Labie <[email protected]>
103+
85104
Justin Dennison <[email protected]>
86105
Justyn Shelby <[email protected]>
87106
Karan Anand <[email protected]>
88107
Karan Vasudevamurthy <[email protected]>
89108
Karan Yadav <[email protected]>
90109
Karthik Prakash <[email protected]>
91-
Kaushikgtm <[email protected]>
92110
Kavyansh-Bagdi <[email protected]>
93111
Kohantika Nath <[email protected]>
94112
Krishnam Agarwal <[email protected]>
95113
Krishnendu Das <[email protected]>
96114
Kshitij-Dale <[email protected]>
97115
Lalit Narayan Yadav <[email protected]>
116+
lohithganni <[email protected]>
98117
Lokesh Ranjan <[email protected]>
99118
Lovelin Dhoni J B <[email protected]>
100-
101119
Mahfuza Humayra Mohona <[email protected]>
120+
102121
Manik Sharma <[email protected]>
103122
Manvith M <[email protected]>
104123
Marcus Fantham <[email protected]>
@@ -107,12 +126,17 @@ Mihir Pandit <[email protected]>
107126
Milan Raj <[email protected]>
108127
Mohammad Bin Aftab <[email protected]>
109128
Mohammad Kaif <[email protected]>
129+
110130
Momtchil Momtchev <[email protected]>
111131
Muhammad Haris <[email protected]>
112132
Muhammad Taaha Tariq <[email protected]>
113133
Muhmmad Saad <[email protected]>
134+
Nakul Krishnakumar <[email protected]>
114135
Naresh Jagadeesan <[email protected]>
115136
Naveen Kumar <[email protected]>
137+
Navyansh Kesarwani <[email protected]>
138+
navyansh007 <[email protected]>
139+
NEEKUorAAYUSH <[email protected]>
116140
Neeraj Pathak <[email protected]>
117141
NirvedMishra <[email protected]>
118142
Nishant Shinde <[email protected]>
@@ -121,13 +145,18 @@ Nishchay Rajput <[email protected]>
121145
Nithin Katta <[email protected]>
122146
Nourhan Hasan <[email protected]>
123147
Ognjen Jevremović <[email protected]>
148+
olenkabilonizhka <[email protected]>
124149
Oneday12323 <[email protected]>
125150
Ori Miles <[email protected]>
151+
Payal Goswami <[email protected]>
126152
Philipp Burckhardt <[email protected]>
127153
Pierre Forstmann <[email protected]>
154+
Piyush Goel <[email protected]>
155+
Pradyumn Prasad <[email protected]>
128156
Prajjwal Bajpai <[email protected]>
129157
Prajwal Kulkarni <[email protected]>
130158
Pranav Goswami <[email protected]>
159+
pranav-1720 <[email protected]>
131160
Pranjal Jha <[email protected]>
132161
Prashant Kumar Yadav <[email protected]>
133162
PrathamBhamare <[email protected]>
@@ -139,39 +168,51 @@ Priyanshu Agarwal <[email protected]>
139168
Pulkit Gupta <[email protected]>
140169
Pushpendra Chandravanshi <[email protected]>
141170
Rahul Kumar <[email protected]>
171+
rahulrangers <[email protected]>
172+
142173
Raunak Kumar Gupta <[email protected]>
174+
143175
Rejoan Sardar <[email protected]>
144176
Ricky Reusser <[email protected]>
145177
Ridam Garg <[email protected]>
146178
147179
Rishav Tarway <[email protected]>
148180
Robert Gislason <[email protected]>
149181
Roman Stetsyk <[email protected]>
182+
RudrakshRaina07 <[email protected]>
150183
151184
Rutam Kathale <[email protected]>
152185
Ruthwik Chikoti <[email protected]>
153186
Ryan Seal <[email protected]>
154187
Rylan Yang <[email protected]>
155-
SAHIL KUMAR <[email protected]>
156-
SHIVAM YADAV <[email protected]>
157188
Sachin Raj <[email protected]>
158189
Sahil Goyal <[email protected]>
190+
SAHIL KUMAR <[email protected]>
159191
Sai Avinash <[email protected]>
160192
Sai Srikar Dumpeti <[email protected]>
161193
Sanchay Ketan Sinha <[email protected]>
162194
Sarthak Paandey <[email protected]>
195+
Satyajeet Chavan <[email protected]>
196+
SAUJANYA MAGARDE <[email protected]>
163197
Saurabh Singh <[email protected]>
198+
Seth-Banker <[email protected]>
164199
Seyyed Parsa Neshaei <[email protected]>
165200
Shabareesh Shetty <[email protected]>
166201
Shashank Shekhar Singh <[email protected]>
202+
Shaswata Panda <[email protected]>
167203
Shivam Ahir <[email protected]>
204+
SHIVAM YADAV <[email protected]>
205+
168206
Shraddheya Shendre <[email protected]>
169207
Shubh Mehta <[email protected]>
208+
170209
Shubham Mishra <[email protected]>
210+
Siddhesh waje <[email protected]>
171211
Sivam Das <[email protected]>
172212
Snehil Shah <[email protected]>
173213
Soumajit Chatterjee <[email protected]>
174214
Spandan Barve <[email protected]>
215+
Srinivas Batthula <[email protected]>
175216
Stephannie Jiménez Gacha <[email protected]>
176217
Suhaib Ilahi <[email protected]>
177218
Suraj Kumar <[email protected]>
@@ -181,30 +222,24 @@ Tirtadwipa Manunggal <[email protected]>
181222
Tudor Pagu <[email protected]>
182223
Tufailahmed Bargir <[email protected]>
183224
Tushar Bhardwaj <[email protected]>
225+
Tushar Bharti <[email protected]>
226+
Tyson Cung <[email protected]>
184227
Uday Kakade <[email protected]>
185228
Ujjwal Kirti <[email protected]>
186229
Utkarsh <http://[email protected]>
187230
Utkarsh Raj <[email protected]>
188231
UtkershBasnet <[email protected]>
189232
Vaibhav Patel <[email protected]>
233+
Vansh Choudhary <[email protected]>
190234
Vara Rahul Rajana <[email protected]>
191235
Varad Gupta <[email protected]>
192236
Vinit Pandit <[email protected]>
193237
Vivek Maurya <[email protected]>
238+
Wendy Yuchen Sun <[email protected]>
194239
Xiaochuan Ye <[email protected]>
195240
Yaswanth Kosuru <[email protected]>
196241
Yernar Yergaziyev <[email protected]>
242+
youzi-forge <[email protected]>
197243
Yugal Kaushik <[email protected]>
198244
Yuvi Mittal <[email protected]>
199-
devshree-bhati <[email protected]>
200-
201-
ekambains <[email protected]>
202-
fadiothman22 <[email protected]>
203-
iraandrushko <[email protected]>
204-
lohithganni <[email protected]>
205-
olenkabilonizhka <[email protected]>
206-
pranav-1720 <[email protected]>
207-
rahulrangers <[email protected]>
208-
209-
210-
245+
Zuhair Ahmad <[email protected]>

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -153,22 +153,18 @@ y = mypdf( 5.0 );
153153
<!-- eslint no-undef: "error" -->
154154

155155
```javascript
156-
var randu = require( '@stdlib/random-base-randu' );
156+
var uniform = require( '@stdlib/random-array-uniform' );
157+
var logEachMap = require( '@stdlib/console-log-each-map' );
157158
var pdf = require( '@stdlib/stats-base-dists-logistic-pdf' );
158159

159-
var mu;
160-
var s;
161-
var x;
162-
var y;
163-
var i;
164-
165-
for ( i = 0; i < 10; i++ ) {
166-
x = randu() * 10.0;
167-
mu = randu() * 10.0;
168-
s = randu() * 10.0;
169-
y = pdf( x, mu, s );
170-
console.log( 'x: %d, µ: %d, s: %d, f(x;µ,s): %d', x, mu, s, y );
171-
}
160+
var opts = {
161+
'dtype': 'float64'
162+
};
163+
var x = uniform( 10, 0.0, 10.0, opts );
164+
var mu = uniform( 10, 0.0, 10.0, opts );
165+
var s = uniform( 10, 0.0, 10.0, opts );
166+
167+
logEachMap( 'x: %0.4f, µ: %0.4f, s: %0.4f, f(x;µ,s): %0.4f', x, mu, s, pdf );
172168
```
173169

174170
</section>

examples/index.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,15 @@
1818

1919
'use strict';
2020

21-
var randu = require( '@stdlib/random-base-randu' );
21+
var uniform = require( '@stdlib/random-array-uniform' );
22+
var logEachMap = require( '@stdlib/console-log-each-map' );
2223
var pdf = require( './../lib' );
2324

24-
var mu;
25-
var s;
26-
var x;
27-
var y;
28-
var i;
25+
var opts = {
26+
'dtype': 'float64'
27+
};
28+
var x = uniform( 10, 0.0, 10.0, opts );
29+
var mu = uniform( 10, 0.0, 10.0, opts );
30+
var s = uniform( 10, 0.0, 10.0, opts );
2931

30-
for ( i = 0; i < 10; i++ ) {
31-
x = randu() * 10;
32-
mu = randu() * 10;
33-
s = randu() * 10;
34-
y = pdf( x, mu, s );
35-
console.log( 'x: %d, µ: %d, s: %d, f(x;µ,s): %d', x, mu, s, y );
36-
}
32+
logEachMap( 'x: %0.4f, µ: %0.4f, s: %0.4f, f(x;µ,s): %0.4f', x, mu, s, pdf );

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
5454
},
5555
"devDependencies": {
5656
"@stdlib/array-float64": "^0.2.2",
57+
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
5758
"@stdlib/constants-float64-eps": "^0.2.2",
58-
"@stdlib/random-base-randu": "^0.2.1",
59+
"@stdlib/random-array-uniform": "^0.2.1",
5960
"@stdlib/random-base-uniform": "^0.2.1",
6061
"@stdlib/utils-try-require": "^0.2.2",
6162
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",

0 commit comments

Comments
 (0)