Skip to content

Commit 9e3435d

Browse files
committed
Auto-generated commit
1 parent 90d94d3 commit 9e3435d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+5441
-29
lines changed

CHANGELOG.md

Lines changed: 149 additions & 10 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-15)
7+
## Unreleased (2024-12-16)
88

99
<section class="packages">
1010

@@ -282,6 +282,40 @@ This release closes the following issue:
282282

283283
<!-- /.package -->
284284

285+
<section class="package" id="stats-base-dists-beta-mode-unreleased">
286+
287+
#### [@stdlib/stats/base/dists/beta/mode](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/beta/mode)
288+
289+
<details>
290+
291+
<section class="features">
292+
293+
##### Features
294+
295+
- [`b018e09`](https://github.com/stdlib-js/stdlib/commit/b018e09b9cdaf0d9cfb06a815b3c3ea0ee2c0067) - add C implementation for `stats/base/dists/beta/mode` [(#3908)](https://github.com/stdlib-js/stdlib/pull/3908)
296+
297+
</section>
298+
299+
<!-- /.features -->
300+
301+
<section class="issues">
302+
303+
##### Closed Issues
304+
305+
This release closes the following issue:
306+
307+
[#3431](https://github.com/stdlib-js/stdlib/issues/3431)
308+
309+
</section>
310+
311+
<!-- /.issues -->
312+
313+
</details>
314+
315+
</section>
316+
317+
<!-- /.package -->
318+
285319
<section class="package" id="stats-base-dists-beta-skewness-unreleased">
286320

287321
#### [@stdlib/stats/base/dists/beta/skewness](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/beta/skewness)
@@ -350,6 +384,40 @@ This release closes the following issue:
350384

351385
<!-- /.package -->
352386

387+
<section class="package" id="stats-base-dists-beta-variance-unreleased">
388+
389+
#### [@stdlib/stats/base/dists/beta/variance](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/beta/variance)
390+
391+
<details>
392+
393+
<section class="features">
394+
395+
##### Features
396+
397+
- [`bb09b18`](https://github.com/stdlib-js/stdlib/commit/bb09b185f74d2fc05254a2f164119ca05054887f) - add C implementation for `stats/base/dists/beta/variance` [(#3919)](https://github.com/stdlib-js/stdlib/pull/3919)
398+
399+
</section>
400+
401+
<!-- /.features -->
402+
403+
<section class="issues">
404+
405+
##### Closed Issues
406+
407+
This release closes the following issue:
408+
409+
[#3436](https://github.com/stdlib-js/stdlib/issues/3436)
410+
411+
</section>
412+
413+
<!-- /.issues -->
414+
415+
</details>
416+
417+
</section>
418+
419+
<!-- /.package -->
420+
353421
<section class="package" id="stats-base-dists-betaprime-kurtosis-unreleased">
354422

355423
#### [@stdlib/stats/base/dists/betaprime/kurtosis](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/betaprime/kurtosis)
@@ -626,6 +694,74 @@ This release closes the following issue:
626694

627695
<!-- /.package -->
628696

697+
<section class="package" id="stats-base-dists-poisson-variance-unreleased">
698+
699+
#### [@stdlib/stats/base/dists/poisson/variance](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/poisson/variance)
700+
701+
<details>
702+
703+
<section class="features">
704+
705+
##### Features
706+
707+
- [`0e2d82a`](https://github.com/stdlib-js/stdlib/commit/0e2d82a0e55b279370365e56b765922321a69e05) - add C implementation for `stats/base/dists/poisson/variance` [(#3933)](https://github.com/stdlib-js/stdlib/pull/3933)
708+
709+
</section>
710+
711+
<!-- /.features -->
712+
713+
<section class="issues">
714+
715+
##### Closed Issues
716+
717+
This release closes the following issue:
718+
719+
[#3797](https://github.com/stdlib-js/stdlib/issues/3797)
720+
721+
</section>
722+
723+
<!-- /.issues -->
724+
725+
</details>
726+
727+
</section>
728+
729+
<!-- /.package -->
730+
731+
<section class="package" id="stats-base-dists-rayleigh-cdf-unreleased">
732+
733+
#### [@stdlib/stats/base/dists/rayleigh/cdf](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/rayleigh/cdf)
734+
735+
<details>
736+
737+
<section class="features">
738+
739+
##### Features
740+
741+
- [`d7f5b56`](https://github.com/stdlib-js/stdlib/commit/d7f5b56fc072abf167bd5eb5e2163833715f2211) - add C implementation of `stats/base/dists/rayleigh/cdf` [(#3931)](https://github.com/stdlib-js/stdlib/pull/3931)
742+
743+
</section>
744+
745+
<!-- /.features -->
746+
747+
<section class="issues">
748+
749+
##### Closed Issues
750+
751+
This release closes the following issue:
752+
753+
[#3798](https://github.com/stdlib-js/stdlib/issues/3798)
754+
755+
</section>
756+
757+
<!-- /.issues -->
758+
759+
</details>
760+
761+
</section>
762+
763+
<!-- /.package -->
764+
629765
<section class="package" id="stats-base-dists-t-mean-unreleased">
630766

631767
#### [@stdlib/stats/base/dists/t/mean](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/t/mean)
@@ -808,9 +944,9 @@ A total of 3 issues were closed in this release:
808944

809945
### Closed Issues
810946

811-
A total of 25 issues were closed in this release:
947+
A total of 29 issues were closed in this release:
812948

813-
[#1619](https://github.com/stdlib-js/stdlib/issues/1619), [#1632](https://github.com/stdlib-js/stdlib/issues/1632), [#1633](https://github.com/stdlib-js/stdlib/issues/1633), [#3236](https://github.com/stdlib-js/stdlib/issues/3236), [#3237](https://github.com/stdlib-js/stdlib/issues/3237), [#3238](https://github.com/stdlib-js/stdlib/issues/3238), [#3378](https://github.com/stdlib-js/stdlib/issues/3378), [#3384](https://github.com/stdlib-js/stdlib/issues/3384), [#3385](https://github.com/stdlib-js/stdlib/issues/3385), [#3401](https://github.com/stdlib-js/stdlib/issues/3401), [#3402](https://github.com/stdlib-js/stdlib/issues/3402), [#3414](https://github.com/stdlib-js/stdlib/issues/3414), [#3417](https://github.com/stdlib-js/stdlib/issues/3417), [#3421](https://github.com/stdlib-js/stdlib/issues/3421), [#3434](https://github.com/stdlib-js/stdlib/issues/3434), [#3435](https://github.com/stdlib-js/stdlib/issues/3435), [#3438](https://github.com/stdlib-js/stdlib/issues/3438), [#3445](https://github.com/stdlib-js/stdlib/issues/3445), [#3446](https://github.com/stdlib-js/stdlib/issues/3446), [#3447](https://github.com/stdlib-js/stdlib/issues/3447), [#3671](https://github.com/stdlib-js/stdlib/issues/3671), [#3865](https://github.com/stdlib-js/stdlib/issues/3865), [#3874](https://github.com/stdlib-js/stdlib/issues/3874), [#3879](https://github.com/stdlib-js/stdlib/issues/3879), [#3880](https://github.com/stdlib-js/stdlib/issues/3880)
949+
[#1619](https://github.com/stdlib-js/stdlib/issues/1619), [#1632](https://github.com/stdlib-js/stdlib/issues/1632), [#1633](https://github.com/stdlib-js/stdlib/issues/1633), [#3236](https://github.com/stdlib-js/stdlib/issues/3236), [#3237](https://github.com/stdlib-js/stdlib/issues/3237), [#3238](https://github.com/stdlib-js/stdlib/issues/3238), [#3378](https://github.com/stdlib-js/stdlib/issues/3378), [#3384](https://github.com/stdlib-js/stdlib/issues/3384), [#3385](https://github.com/stdlib-js/stdlib/issues/3385), [#3401](https://github.com/stdlib-js/stdlib/issues/3401), [#3402](https://github.com/stdlib-js/stdlib/issues/3402), [#3414](https://github.com/stdlib-js/stdlib/issues/3414), [#3417](https://github.com/stdlib-js/stdlib/issues/3417), [#3421](https://github.com/stdlib-js/stdlib/issues/3421), [#3431](https://github.com/stdlib-js/stdlib/issues/3431), [#3434](https://github.com/stdlib-js/stdlib/issues/3434), [#3435](https://github.com/stdlib-js/stdlib/issues/3435), [#3436](https://github.com/stdlib-js/stdlib/issues/3436), [#3438](https://github.com/stdlib-js/stdlib/issues/3438), [#3445](https://github.com/stdlib-js/stdlib/issues/3445), [#3446](https://github.com/stdlib-js/stdlib/issues/3446), [#3447](https://github.com/stdlib-js/stdlib/issues/3447), [#3671](https://github.com/stdlib-js/stdlib/issues/3671), [#3797](https://github.com/stdlib-js/stdlib/issues/3797), [#3798](https://github.com/stdlib-js/stdlib/issues/3798), [#3865](https://github.com/stdlib-js/stdlib/issues/3865), [#3874](https://github.com/stdlib-js/stdlib/issues/3874), [#3879](https://github.com/stdlib-js/stdlib/issues/3879), [#3880](https://github.com/stdlib-js/stdlib/issues/3880)
814950

815951
</section>
816952

@@ -845,6 +981,10 @@ A total of 12 people contributed to this release. Thank you to the following con
845981

846982
<details>
847983

984+
- [`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)_
985+
- [`bb09b18`](https://github.com/stdlib-js/stdlib/commit/bb09b185f74d2fc05254a2f164119ca05054887f) - **feat:** add C implementation for `stats/base/dists/beta/variance` [(#3919)](https://github.com/stdlib-js/stdlib/pull/3919) _(by Vivek maurya, Philipp Burckhardt)_
986+
- [`0e2d82a`](https://github.com/stdlib-js/stdlib/commit/0e2d82a0e55b279370365e56b765922321a69e05) - **feat:** add C implementation for `stats/base/dists/poisson/variance` [(#3933)](https://github.com/stdlib-js/stdlib/pull/3933) _(by Aayush Khanna, Philipp Burckhardt, stdlib-bot)_
987+
- [`b018e09`](https://github.com/stdlib-js/stdlib/commit/b018e09b9cdaf0d9cfb06a815b3c3ea0ee2c0067) - **feat:** add C implementation for `stats/base/dists/beta/mode` [(#3908)](https://github.com/stdlib-js/stdlib/pull/3908) _(by Vivek maurya, Philipp Burckhardt)_
848988
- [`ed99b85`](https://github.com/stdlib-js/stdlib/commit/ed99b8564b5ea451e094ea331eab9df470df96eb) - **chore:** minor clean-up _(by Philipp Burckhardt)_
849989
- [`0e887d5`](https://github.com/stdlib-js/stdlib/commit/0e887d567344c8a31a382266389022ec26f2bcca) - **style:** add missing spaces _(by Philipp Burckhardt)_
850990
- [`ff25e13`](https://github.com/stdlib-js/stdlib/commit/ff25e1324e1507cc076078e82badce7fdf7915f6) - **docs:** remove excess whitespace _(by Philipp Burckhardt)_
@@ -954,15 +1094,14 @@ This release closes the following issue:
9541094

9551095
### Contributors
9561096

957-
A total of 7 people contributed to this release. Thank you to the following contributors:
1097+
A total of 6 people contributed to this release. Thank you to the following contributors:
9581098

9591099
- Kohantika Nath
9601100
- Philipp Burckhardt
961-
- Shivam
1101+
- Shivam Ahir
9621102
- Tufailahmed Bargir
9631103
- UtkershBasnet
9641104
- olenkabilonizhka
965-
- shivam Ahir
9661105

9671106
</section>
9681107

@@ -977,10 +1116,10 @@ A total of 7 people contributed to this release. Thank you to the following cont
9771116
- [`fdd3963`](https://github.com/stdlib-js/stdlib/commit/fdd3963096904e999191e354dede1ca59461adc2) - **chore:** minor clean-up _(by Philipp Burckhardt)_
9781117
- [`e5b993a`](https://github.com/stdlib-js/stdlib/commit/e5b993a1b314d478be07dabc12a7b349872e4427) - **docs:** improve README examples of `stats/base/dists/cosine` namespace [(#2669)](https://github.com/stdlib-js/stdlib/pull/2669) _(by Kohantika Nath, Kohantika Nath, Philipp Burckhardt)_
9791118
- [`43e7a33`](https://github.com/stdlib-js/stdlib/commit/43e7a3386606e54475e872d24ddf11fa6c122c42) - **chore:** minor clean-up after code review _(by Philipp Burckhardt)_
980-
- [`f0ab00b`](https://github.com/stdlib-js/stdlib/commit/f0ab00bf081e55b928de80320c75dc42e713ad3d) - **docs:** improve README examples of `stats/base/dists/chi` namespace [(#1803)](https://github.com/stdlib-js/stdlib/pull/1803) _(by Shivam, Philipp Burckhardt)_
981-
- [`caaf0d9`](https://github.com/stdlib-js/stdlib/commit/caaf0d9f3597fac939a52fb15bdf6465fa0a3125) - **docs:** improve README examples of `stats/base/dists/geometric` namespace [(#1801)](https://github.com/stdlib-js/stdlib/pull/1801) _(by Shivam, Philipp Burckhardt, shivam Ahir)_
982-
- [`e399bfd`](https://github.com/stdlib-js/stdlib/commit/e399bfd09baf0b50ea9beb49f65867cd1a1e45b7) - **docs:** improve README examples of `stats/base/dists/gamma` namespace [(#1804)](https://github.com/stdlib-js/stdlib/pull/1804) _(by Shivam, Philipp Burckhardt, shivam Ahir)_
983-
- [`6c3b249`](https://github.com/stdlib-js/stdlib/commit/6c3b2492906413f1d994aebe9dbc12b11245f108) - **docs:** improve README examples of `stats/base/dists/invgamma namespace` [(#1808)](https://github.com/stdlib-js/stdlib/pull/1808) _(by Shivam, Philipp Burckhardt, shivam Ahir)_
1119+
- [`f0ab00b`](https://github.com/stdlib-js/stdlib/commit/f0ab00bf081e55b928de80320c75dc42e713ad3d) - **docs:** improve README examples of `stats/base/dists/chi` namespace [(#1803)](https://github.com/stdlib-js/stdlib/pull/1803) _(by Shivam Ahir, Philipp Burckhardt)_
1120+
- [`caaf0d9`](https://github.com/stdlib-js/stdlib/commit/caaf0d9f3597fac939a52fb15bdf6465fa0a3125) - **docs:** improve README examples of `stats/base/dists/geometric` namespace [(#1801)](https://github.com/stdlib-js/stdlib/pull/1801) _(by Shivam Ahir, Philipp Burckhardt, shivam Ahir)_
1121+
- [`e399bfd`](https://github.com/stdlib-js/stdlib/commit/e399bfd09baf0b50ea9beb49f65867cd1a1e45b7) - **docs:** improve README examples of `stats/base/dists/gamma` namespace [(#1804)](https://github.com/stdlib-js/stdlib/pull/1804) _(by Shivam Ahir, Philipp Burckhardt, shivam Ahir)_
1122+
- [`6c3b249`](https://github.com/stdlib-js/stdlib/commit/6c3b2492906413f1d994aebe9dbc12b11245f108) - **docs:** improve README examples of `stats/base/dists/invgamma namespace` [(#1808)](https://github.com/stdlib-js/stdlib/pull/1808) _(by Shivam Ahir, Philipp Burckhardt, shivam Ahir)_
9841123
- [`61912b7`](https://github.com/stdlib-js/stdlib/commit/61912b7eed6c5f60d074210347d31472da963b22) - **docs:** improve examples of `stats/base/dists/exponential` namespace _(by UtkershBasnet, Philipp Burckhardt)_
9851124
- [`abf0407`](https://github.com/stdlib-js/stdlib/commit/abf040787f6598438b0100a729a8331b7f80f62f) - **chore:** resolve lint errors in TS files _(by Philipp Burckhardt)_
9861125
- [`b89c97c`](https://github.com/stdlib-js/stdlib/commit/b89c97ce0b812ff0b2aab16b4d77969d44fe3e8c) - **docs:** resolve lint errors in TS declaration files _(by Philipp Burckhardt)_

CONTRIBUTORS

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
#
33
# Contributors listed in alphabetical order.
44

5+
Aadish Jain <[email protected]>
56
Aayush Khanna <[email protected]>
67
Abhijit Raut <[email protected]>
78
Adarsh Palaskar <[email protected]>
89
Aditya Sapra <[email protected]>
910
Ahmed Atwa <[email protected]>
1011
Ahmed Kashkoush <[email protected]>
12+
Ahmed Khaled <[email protected]>
1113
Aleksandr <[email protected]>
1214
Ali Salesi <[email protected]>
1315
Aman Bhansali <[email protected]>
@@ -46,11 +48,10 @@ Jordan Gallivan <[email protected]>
4648
Joris Labie <[email protected]>
4749
Justin Dennison <[email protected]>
4850
Karthik Prakash <[email protected]>
49-
5051
Kohantika Nath <[email protected]>
5152
Krishnendu Das <[email protected]>
5253
Kshitij-Dale <[email protected]>
53-
54+
Lovelin Dhoni J B <[email protected]>
5455
Manik Sharma <[email protected]>
5556
Manvith M <[email protected]>
5657
Marcus Fantham <[email protected]>
@@ -61,6 +62,7 @@ Mohammad Kaif <[email protected]>
6162
Momtchil Momtchev <[email protected]>
6263
Muhammad Haris <[email protected]>
6364
Naresh Jagadeesan <[email protected]>
65+
Naveen Kumar <[email protected]>
6466
Neeraj Pathak <[email protected]>
6567
Nishant Shinde <[email protected]>
6668
Nithin Katta <[email protected]>
@@ -71,10 +73,10 @@ Ori Miles <[email protected]>
7173
Philipp Burckhardt <[email protected]>
7274
Prajwal Kulkarni <[email protected]>
7375
Pranav Goswami <[email protected]>
74-
75-
76+
Pranjal Jha <[email protected]>
77+
Pratik Singh <[email protected]>
7678
Pratyush Kumar Chouhan <[email protected]>
77-
79+
Priyansh Prajapati <[email protected]>
7880
Priyanshu Agarwal <[email protected]>
7981
Pushpendra Chandravanshi <[email protected]>
8082
Raunak Kumar Gupta <[email protected]>
@@ -93,7 +95,7 @@ Sarthak Paandey <[email protected]>
9395
Saurabh Singh <[email protected]>
9496
Seyyed Parsa Neshaei <[email protected]>
9597
Shashank Shekhar Singh <[email protected]>
96-
98+
Shivam Ahir <[email protected]>
9799
Shraddheya Shendre <[email protected]>
98100
Shubh Mehta <[email protected]>
99101
Shubham Mishra <[email protected]>
@@ -116,7 +118,6 @@ Vivek maurya <[email protected]>
116118
Xiaochuan Ye <[email protected]>
117119
Yaswanth Kosuru <[email protected]>
118120
Yernar Yergaziyev <[email protected]>
119-
120121
olenkabilonizhka <[email protected]>
121122
122123

base/dists/beta/mode/README.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,101 @@ for ( i = 0; i < 10; i++ ) {
144144

145145
<!-- /.examples -->
146146

147+
<!-- C interface documentation. -->
148+
149+
* * *
150+
151+
<section class="c">
152+
153+
## C APIs
154+
155+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
156+
157+
<section class="intro">
158+
159+
</section>
160+
161+
<!-- /.intro -->
162+
163+
<!-- C usage documentation. -->
164+
165+
<section class="usage">
166+
167+
### Usage
168+
169+
```c
170+
#include "stdlib/stats/base/dists/beta/mode.h"
171+
```
172+
173+
#### stdlib_base_dists_beta_mode( alpha, beta )
174+
175+
Returns the [mode][mode] of a [beta][beta-distribution] distribution with parameters `alpha` (first shape parameter) and `beta` (second shape parameter).
176+
177+
```c
178+
double out = stdlib_base_dists_beta_mode( 4.0, 12.0 );
179+
// returns ~0.214
180+
```
181+
182+
The function accepts the following arguments:
183+
184+
- **alpha**: `[in] double` first shape parameter.
185+
- **beta**: `[in] double` second shape parameter.
186+
187+
```c
188+
double stdlib_base_dists_beta_mode( const double alpha, const double beta );
189+
```
190+
191+
</section>
192+
193+
<!-- /.usage -->
194+
195+
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
196+
197+
<section class="notes">
198+
199+
</section>
200+
201+
<!-- /.notes -->
202+
203+
<!-- C API usage examples. -->
204+
205+
<section class="examples">
206+
207+
### Examples
208+
209+
```c
210+
#include "stdlib/stats/base/dists/beta/mode.h"
211+
#include "stdlib/constants/float64/eps.h"
212+
#include <stdlib.h>
213+
#include <stdio.h>
214+
215+
static double random_uniform( const double min, const double max ) {
216+
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
217+
return min + ( v*(max-min) );
218+
}
219+
220+
int main( void ) {
221+
double alpha;
222+
double beta;
223+
double y;
224+
int i;
225+
for ( i = 0; i < 25; i++ ) {
226+
alpha = random_uniform( 0.0, 10.0 ) + 1.0 + STDLIB_CONSTANT_FLOAT64_EPS;
227+
beta = random_uniform( 0.0, 10.0 ) + 1.0 + STDLIB_CONSTANT_FLOAT64_EPS;
228+
y = stdlib_base_dists_beta_mode( alpha, beta );
229+
printf( "alpha: %lf, beta: %lf, mode(X;alpha,beta): %lf\n", alpha, beta, y );
230+
}
231+
}
232+
```
233+
234+
</section>
235+
236+
<!-- /.examples -->
237+
238+
</section>
239+
240+
<!-- /.c -->
241+
147242
<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
148243

149244
<section class="references">

0 commit comments

Comments
 (0)