Skip to content

Commit df57048

Browse files
committed
Auto-generated commit
1 parent 5f01034 commit df57048

6 files changed

Lines changed: 30 additions & 23 deletions

File tree

.github/.keepalive

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

CHANGELOG.md

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

7-
## Unreleased (2025-05-26)
7+
## Unreleased (2025-06-15)
88

99
<section class="features">
1010

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

3535
<details>
3636

37+
- [`0449885`](https://github.com/stdlib-js/stdlib/commit/044988596dc1f7bc9084033663a426ef366e564c) - **docs:** replace manual `for` loop in examples [(#7367)](https://github.com/stdlib-js/stdlib/pull/7367) _(by Harsh)_
3738
- [`55636e4`](https://github.com/stdlib-js/stdlib/commit/55636e401a4c7c504a41ecb511dc6d55206fdc4a) - **docs:** fix closing comment tags _(by Athan Reines)_
3839
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
3940
- [`7fc07a2`](https://github.com/stdlib-js/stdlib/commit/7fc07a2122bb9e862ae7e2237dd48096051199dd) - **docs:** fix missing section tags in various READMEs [(#5322)](https://github.com/stdlib-js/stdlib/pull/5322) _(by Saurabh Singh)_
@@ -54,9 +55,10 @@ This release closes the following issue:
5455

5556
### Contributors
5657

57-
A total of 5 people contributed to this release. Thank you to the following contributors:
58+
A total of 6 people contributed to this release. Thank you to the following contributors:
5859

5960
- Athan Reines
61+
- Harsh
6062
- Karan Anand
6163
- Philipp Burckhardt
6264
- Prashant Kumar Yadav

CONTRIBUTORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ Ali Salesi <ali_sal1381@yahoo.com>
2121
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2222
Aman Bhansali <bhansali.1@iitj.ac.in>
2323
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
24+
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
2425
Amit Jimiwal <amitjimiwal45@gmail.com>
26+
Annamalai Prabu <apfossdev@gmail.com>
2527
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2628
Anshu Kumar <contact.anshukumar@protonmail.com>
2729
Anudeep Sanapala <anudeep0306@gmail.com>
30+
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
2831
Athan Reines <kgryte@gmail.com>
2932
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
3033
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
@@ -38,6 +41,7 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
3841
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3942
Debashis Maharana <debashismaharana7854@gmail.com>
4043
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
44+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
4145
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4246
Dev Goel <135586571+corsairier@users.noreply.github.com>
4347
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -53,6 +57,7 @@ Frank Kovacs <fran70kk@gmail.com>
5357
GK Bishnoi <gkishan1kyt@gmail.com>
5458
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5559
Gaurav <gaurav70380@gmail.com>
60+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5661
Gautam sharma <gautamkrishnasharma1@gmail.com>
5762
Girish Garg <garggirish2020@gmail.com>
5863
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
@@ -80,6 +85,7 @@ Joris Labie <joris.labie1@gmail.com>
8085
Justin Dennison <justin1dennison@gmail.com>
8186
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
8287
Karan Anand <anandkarancompsci@gmail.com>
88+
Karan Vasudevamurthy <karanlvm123@gmail.com>
8389
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
8490
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8591
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
@@ -89,6 +95,7 @@ Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8995
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
9096
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
9197
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
98+
Lokesh Ranjan <lokesh.ranjan.phe23@itbhu.ac.in>
9299
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
93100
MANI <77221000+Eternity0207@users.noreply.github.com>
94101
Mahfuza Humayra Mohona <mhmohona@gmail.com>
@@ -117,6 +124,7 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
117124
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
118125
Ori Miles <97595296+orimiles5@users.noreply.github.com>
119126
Philipp Burckhardt <pburckhardt@outlook.com>
127+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
120128
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
121129
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
122130
Pranav Goswami <pranavchiku11@gmail.com>
@@ -172,7 +180,9 @@ Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
172180
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
173181
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
174182
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
183+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
175184
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
185+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
176186
Utkarsh <http://utkarsh11105@gmail.com>
177187
Utkarsh Raj <rajutkarsh2505@gmail.com>
178188
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,16 @@ var v = kurtosis( -1.0 );
128128
<!-- eslint no-undef: "error" -->
129129

130130
```javascript
131-
var randu = require( '@stdlib/random-base-randu' );
132-
var round = require( '@stdlib/math-base-special-round' );
131+
var uniform = require( '@stdlib/random-array-uniform' );
132+
var logEachMap = require( '@stdlib/console-log-each-map' );
133133
var kurtosis = require( '@stdlib/stats-base-dists-exponential-kurtosis' );
134134

135-
var lambda;
136-
var v;
137-
var i;
135+
var opts = {
136+
'dtype': 'float64'
137+
};
138+
var lambda = uniform( 10, 0.0, 20.0, opts );
138139

139-
for ( i = 0; i < 10; i++ ) {
140-
lambda = randu() * 20.0;
141-
v = kurtosis( lambda );
142-
console.log( 'λ: %d, Kurt(X;λ): %d', lambda.toFixed( 4 ), v.toFixed( 4 ) );
143-
}
140+
logEachMap( 'λ: %0.4f, Kurt(X;λ): %0.4f', lambda, kurtosis );
144141
```
145142

146143
</section>

examples/index.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@
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 kurtosis = require( './../lib' );
2324

24-
var lambda;
25-
var i;
26-
var v;
25+
var opts = {
26+
'dtype': 'float64'
27+
};
28+
var lambda = uniform( 10, 0.0, 20.0, opts );
2729

28-
for ( i = 0; i < 10; i++ ) {
29-
lambda = randu() * 20.0;
30-
v = kurtosis( lambda );
31-
console.log( 'λ: %d, Kurt(X;λ): %d', lambda.toFixed( 4 ), v.toFixed( 4 ) );
32-
}
30+
logEachMap( 'λ: %0.4f, Kurt(X;λ): %0.4f', lambda, kurtosis );

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646
},
4747
"devDependencies": {
4848
"@stdlib/array-float64": "^0.2.2",
49+
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
4950
"@stdlib/constants-float64-eps": "^0.2.2",
5051
"@stdlib/constants-float64-ninf": "^0.2.2",
5152
"@stdlib/math-base-special-abs": "^0.2.2",
52-
"@stdlib/random-base-randu": "^0.2.1",
53+
"@stdlib/random-array-uniform": "^0.2.1",
5354
"@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",

0 commit comments

Comments
 (0)