Skip to content

Commit 1baf589

Browse files
committed
Auto-generated commit
1 parent a736881 commit 1baf589

File tree

9 files changed

+143
-81
lines changed

9 files changed

+143
-81
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.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: 6 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-04-07)
7+
## Unreleased (2025-10-20)
88

99
<section class="features">
1010

@@ -34,8 +34,11 @@ 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+
- [`9c21fd2`](https://github.com/stdlib-js/stdlib/commit/9c21fd20ef8b8a6a88abb96d80ea6d8e4c5434eb) - **test:** use .strictEqual() instead of .equal() _(by Philipp Burckhardt)_
3740
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
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)_
41+
- [`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)_
3942
- [`e61b1de`](https://github.com/stdlib-js/stdlib/commit/e61b1dee3334bacf30d213de5b5f1c7868c0753b) - **docs:** clean-up of C docstrings _(by Philipp Burckhardt)_
4043
- [`5a6efed`](https://github.com/stdlib-js/stdlib/commit/5a6efed4b52bece2bbcef65d8b19dcfaa168ff78) - **refactor:** precompute constant _(by Philipp Burckhardt)_
4144
- [`03954e1`](https://github.com/stdlib-js/stdlib/commit/03954e125b6cc761a5456e51c909ab09b18d15ee) - **feat:** add C implementation for `stats/base/dists/logistic/stdev` [(#4189)](https://github.com/stdlib-js/stdlib/pull/4189) _(by Vivek Maurya, Philipp Burckhardt, stdlib-bot)_
@@ -53,8 +56,8 @@ A total of 2 issues were closed in this release:
5356

5457
A total of 5 people contributed to this release. Thank you to the following contributors:
5558

56-
- GK Bishnoi
5759
- Gopi Kishan
60+
- Harsh Yadav
5861
- Karan Anand
5962
- Philipp Burckhardt
6063
- Vivek Maurya

CONTRIBUTORS

Lines changed: 91 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,88 +3,120 @@
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]>
23+
Aly Abdelmoneim <[email protected]>
24+
Aman Bhadkariya <[email protected]>
25+
Aman Bhansali <[email protected]>
26+
Amisha Chhajed <[email protected]>
2427
Amit Jimiwal <[email protected]>
25-
Anshu Kumar <[email protected]>
28+
Anmol Sah <[email protected]>
29+
Annamalai Prabu <[email protected]>
2630
Anshu Kumar <[email protected]>
31+
Anshuman Singh <[email protected]>
2732
Anudeep Sanapala <[email protected]>
33+
Arihant Pal <[email protected]>
34+
Aryan Bhirud <[email protected]>
35+
2836
Athan Reines <[email protected]>
29-
30-
Bhavishy Agrawal <[email protected]>
37+
Atharva Patil <[email protected]>
38+
Bhavishy Agrawal <[email protected]>
39+
Bhupesh Kumar <[email protected]>
3140
Brendan Graetz <[email protected]>
3241
Bruno Fenzl <[email protected]>
3342
Bryan Elee <[email protected]>
3443
Chinmay Joshi <[email protected]>
3544
Christopher Dambamuromo <[email protected]>
3645
46+
Daniel Hernandez Gomez <[email protected]>
3747
Daniel Killenberger <[email protected]>
3848
Daniel Yu <[email protected]>
3949
Debashis Maharana <[email protected]>
40-
Deep Trivedi <[email protected]>
41-
Desh Deepak Kant <[email protected]>
50+
Deep Trivedi <[email protected]>
51+
Deepak Singh <[email protected]>
52+
Deepak Singh <[email protected]>
53+
Desh Deepak Kant <[email protected]>
4254
43-
Dhanyabad behera <[email protected]>
55+
Devshree Bhati <[email protected]>
56+
Dhanyabad Behera <[email protected]>
4457
Dhruv Arvind Singh <[email protected]>
45-
Dhruvil Mehta <[email protected]>
46-
Dipjyoti Das <[email protected]>
47-
Divyansh Seth <[email protected]>
58+
Dhruvil Mehta <[email protected]>
59+
Dipjyoti Das <[email protected]>
60+
61+
Divyansh Seth <[email protected]>
4862
Dominic Lim <[email protected]>
4963
Dominik Moritz <[email protected]>
5064
Dorrin Sotoudeh <[email protected]>
51-
EuniceSim142 <[email protected]>
65+
Dudhat Hemil Pravinkumar <[email protected]>
66+
Ekampreet Singh Bains <[email protected]>
67+
Eunice Sim <[email protected]>
68+
5269
Frank Kovacs <[email protected]>
53-
GK Bishnoi <[email protected]>
54-
70+
Gaurav Jadhav <[email protected]>
71+
Gaurav Kaushik <[email protected]>
72+
Gautam Kaushik <[email protected]>
5573
Gautam sharma <[email protected]>
74+
Geo Daoyu <[email protected]>
75+
Girish Garg <[email protected]>
76+
Gitty Harsha <[email protected]>
5677
Golden Kumar <[email protected]>
78+
Gopi Kishan <[email protected]>
5779
Gunj Joshi <[email protected]>
80+
Guru Prasad Sharma <[email protected]>
5881
Gururaj Gurram <[email protected]>
82+
Harishchandra Reddy <[email protected]>
5983
Haroon Rasheed <[email protected]>
60-
61-
84+
Harsh Yadav <[email protected]>
6285
Harshita Kalani <[email protected]>
86+
Hemang Choudhary <[email protected]>
6387
Hemant M Mehta <[email protected]>
6488
Hridyanshu <[email protected]>
89+
Iryna Andrushko <[email protected]>
6590
Jaimin Godhani <[email protected]>
66-
Jaison D Souza <[email protected].com>
91+
Jaison Dsouza <jaisondz9360@gmail.com>
6792
Jalaj Kumar <[email protected]>
6893
James Gelok <[email protected]>
6994
7095
Jaysukh Makvana <[email protected]>
96+
7197
Jenish Thapa <[email protected]>
7298
Jithin KS <[email protected]>
7399
Joel Mathew Koshy <[email protected]>
74100
Joey Reed <[email protected]>
75101
Jordan Gallivan <[email protected]>
76102
Joris Labie <[email protected]>
103+
77104
Justin Dennison <[email protected]>
78105
Justyn Shelby <[email protected]>
79106
Karan Anand <[email protected]>
107+
Karan Vasudevamurthy <[email protected]>
108+
Karan Yadav <[email protected]>
80109
Karthik Prakash <[email protected]>
81-
Kaushikgtm <[email protected]>
82110
Kavyansh-Bagdi <[email protected]>
83111
Kohantika Nath <[email protected]>
84112
Krishnam Agarwal <[email protected]>
85113
Krishnendu Das <[email protected]>
86114
Kshitij-Dale <[email protected]>
115+
Lalit Narayan Yadav <[email protected]>
116+
lohithganni <[email protected]>
117+
Lokesh Ranjan <[email protected]>
87118
Lovelin Dhoni J B <[email protected]>
119+
Mahfuza Humayra Mohona <[email protected]>
88120
89121
Manik Sharma <[email protected]>
90122
Manvith M <[email protected]>
@@ -94,92 +126,120 @@ Mihir Pandit <[email protected]>
94126
Milan Raj <[email protected]>
95127
Mohammad Bin Aftab <[email protected]>
96128
Mohammad Kaif <[email protected]>
129+
97130
Momtchil Momtchev <[email protected]>
98131
Muhammad Haris <[email protected]>
99132
Muhammad Taaha Tariq <[email protected]>
100133
Muhmmad Saad <[email protected]>
134+
Nakul Krishnakumar <[email protected]>
101135
Naresh Jagadeesan <[email protected]>
102136
Naveen Kumar <[email protected]>
137+
Navyansh Kesarwani <[email protected]>
138+
navyansh007 <[email protected]>
139+
NEEKUorAAYUSH <[email protected]>
103140
Neeraj Pathak <[email protected]>
104141
NirvedMishra <[email protected]>
105142
Nishant Shinde <[email protected]>
143+
Nishant singh <[email protected]>
106144
Nishchay Rajput <[email protected]>
107145
Nithin Katta <[email protected]>
108146
Nourhan Hasan <[email protected]>
109147
Ognjen Jevremović <[email protected]>
148+
olenkabilonizhka <[email protected]>
110149
Oneday12323 <[email protected]>
111150
Ori Miles <[email protected]>
151+
Payal Goswami <[email protected]>
112152
Philipp Burckhardt <[email protected]>
153+
Pierre Forstmann <[email protected]>
154+
Piyush Goel <[email protected]>
155+
Pradyumn Prasad <[email protected]>
113156
Prajjwal Bajpai <[email protected]>
114157
Prajwal Kulkarni <[email protected]>
115158
Pranav Goswami <[email protected]>
159+
pranav-1720 <[email protected]>
116160
Pranjal Jha <[email protected]>
117161
Prashant Kumar Yadav <[email protected]>
118162
PrathamBhamare <[email protected]>
119163
Pratik Singh <[email protected]>
120164
Pratyush Kumar Chouhan <[email protected]>
165+
Pravesh Kunwar <[email protected]>
121166
Priyansh Prajapati <[email protected]>
122167
Priyanshu Agarwal <[email protected]>
123168
Pulkit Gupta <[email protected]>
124169
Pushpendra Chandravanshi <[email protected]>
125170
Rahul Kumar <[email protected]>
171+
rahulrangers <[email protected]>
172+
126173
Raunak Kumar Gupta <[email protected]>
174+
127175
Rejoan Sardar <[email protected]>
128176
Ricky Reusser <[email protected]>
129177
Ridam Garg <[email protected]>
130178
131179
Rishav Tarway <[email protected]>
132180
Robert Gislason <[email protected]>
133181
Roman Stetsyk <[email protected]>
182+
RudrakshRaina07 <[email protected]>
134183
135184
Rutam Kathale <[email protected]>
136185
Ruthwik Chikoti <[email protected]>
137186
Ryan Seal <[email protected]>
138187
Rylan Yang <[email protected]>
139-
SAHIL KUMAR <[email protected]>
140-
SHIVAM YADAV <[email protected]>
188+
Sachin Raj <[email protected]>
141189
Sahil Goyal <[email protected]>
190+
SAHIL KUMAR <[email protected]>
142191
Sai Avinash <[email protected]>
143192
Sai Srikar Dumpeti <[email protected]>
144193
Sanchay Ketan Sinha <[email protected]>
145194
Sarthak Paandey <[email protected]>
195+
Satyajeet Chavan <[email protected]>
196+
SAUJANYA MAGARDE <[email protected]>
146197
Saurabh Singh <[email protected]>
198+
Seth-Banker <[email protected]>
147199
Seyyed Parsa Neshaei <[email protected]>
148200
Shabareesh Shetty <[email protected]>
149201
Shashank Shekhar Singh <[email protected]>
202+
Shaswata Panda <[email protected]>
150203
Shivam Ahir <[email protected]>
204+
SHIVAM YADAV <[email protected]>
205+
151206
Shraddheya Shendre <[email protected]>
152207
Shubh Mehta <[email protected]>
208+
153209
Shubham Mishra <[email protected]>
210+
Siddhesh waje <[email protected]>
154211
Sivam Das <[email protected]>
155212
Snehil Shah <[email protected]>
156213
Soumajit Chatterjee <[email protected]>
157214
Spandan Barve <[email protected]>
215+
Srinivas Batthula <[email protected]>
158216
Stephannie Jiménez Gacha <[email protected]>
159217
Suhaib Ilahi <[email protected]>
160218
Suraj Kumar <[email protected]>
219+
Swapnil Hajare <[email protected]>
161220
Tanishq Ahuja <[email protected]>
162221
Tirtadwipa Manunggal <[email protected]>
163222
Tudor Pagu <[email protected]>
164223
Tufailahmed Bargir <[email protected]>
224+
Tushar Bhardwaj <[email protected]>
225+
Tushar Bharti <[email protected]>
226+
Tyson Cung <[email protected]>
227+
Uday Kakade <[email protected]>
228+
Ujjwal Kirti <[email protected]>
165229
Utkarsh <http://[email protected]>
166230
Utkarsh Raj <[email protected]>
167231
UtkershBasnet <[email protected]>
168232
Vaibhav Patel <[email protected]>
233+
Vansh Choudhary <[email protected]>
234+
Vara Rahul Rajana <[email protected]>
169235
Varad Gupta <[email protected]>
170236
Vinit Pandit <[email protected]>
171237
Vivek Maurya <[email protected]>
238+
Wendy Yuchen Sun <[email protected]>
172239
Xiaochuan Ye <[email protected]>
173240
Yaswanth Kosuru <[email protected]>
174241
Yernar Yergaziyev <[email protected]>
242+
youzi-forge <[email protected]>
175243
Yugal Kaushik <[email protected]>
176244
Yuvi Mittal <[email protected]>
177-
178-
ekambains <[email protected]>
179-
fadiothman22 <[email protected]>
180-
lohithganni <[email protected]>
181-
olenkabilonizhka <[email protected]>
182-
pranav-1720 <[email protected]>
183-
rahulrangers <[email protected]>
184-
185-
245+
Zuhair Ahmad <[email protected]>

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,17 @@ y = stdev( 0.0, -1.0 );
144144
<!-- eslint no-undef: "error" -->
145145

146146
```javascript
147-
var randu = require( '@stdlib/random-base-randu' );
147+
var uniform = require( '@stdlib/random-array-uniform' );
148+
var logEachMap = require( '@stdlib/console-log-each-map' );
148149
var stdev = require( '@stdlib/stats-base-dists-logistic-stdev' );
149150

150-
var mu;
151-
var s;
152-
var y;
153-
var i;
151+
var opts = {
152+
'dtype': 'float64'
153+
};
154+
var mu = uniform( 10, -5.0, 5.0, opts );
155+
var s = uniform( 10, 0.0, 20.0, opts );
154156

155-
for ( i = 0; i < 10; i++ ) {
156-
mu = ( randu()*10.0 ) - 5.0;
157-
s = randu() * 20.0;
158-
y = stdev( mu, s );
159-
console.log( 'µ: %d, s: %d, SD(X;µ,s): %d', mu.toFixed( 4 ), s.toFixed( 4 ), y.toFixed( 4 ) );
160-
}
157+
logEachMap( 'µ: %0.4f, s: %0.4f, SD(X;µ,s): %0.4f', mu, s, stdev );
161158
```
162159

163160
</section>

examples/index.js

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,14 @@
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 stdev = require( './../lib' );
2324

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

29-
for ( i = 0; i < 10; i++ ) {
30-
mu = ( randu()*10.0 ) - 5.0;
31-
s = randu() * 20.0;
32-
y = stdev( mu, s );
33-
console.log( 'µ: %d, s: %d, SD(X;µ,s): %d', mu.toFixed( 4 ), s.toFixed( 4 ), y.toFixed( 4 ) );
34-
}
31+
logEachMap( 'µ: %0.4f, s: %0.4f, SD(X;µ,s): %0.4f', mu, s, stdev );

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@
4848
},
4949
"devDependencies": {
5050
"@stdlib/array-float64": "^0.2.2",
51+
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
5152
"@stdlib/constants-float64-eps": "^0.2.2",
5253
"@stdlib/constants-float64-ninf": "^0.2.2",
5354
"@stdlib/constants-float64-pinf": "^0.2.2",
5455
"@stdlib/math-base-special-abs": "^0.2.2",
55-
"@stdlib/random-base-randu": "^0.2.1",
56+
"@stdlib/random-array-uniform": "^0.2.1",
5657
"@stdlib/random-base-uniform": "^0.2.1",
5758
"@stdlib/utils-try-require": "^0.2.2",
5859
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",

0 commit comments

Comments
 (0)