Skip to content

Commit 3d3f4cb

Browse files
committed
Auto-generated commit
1 parent 4952762 commit 3d3f4cb

File tree

44 files changed

+1402
-37
lines changed

Some content is hidden

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

44 files changed

+1402
-37
lines changed

CHANGELOG.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
@@ -808,9 +842,9 @@ A total of 3 issues were closed in this release:
808842

809843
### Closed Issues
810844

811-
A total of 25 issues were closed in this release:
845+
A total of 26 issues were closed in this release:
812846

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)
847+
[#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), [#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)
814848

815849
</section>
816850

@@ -845,6 +879,16 @@ A total of 12 people contributed to this release. Thank you to the following con
845879

846880
<details>
847881

882+
- [`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)_
883+
- [`ed99b85`](https://github.com/stdlib-js/stdlib/commit/ed99b8564b5ea451e094ea331eab9df470df96eb) - **chore:** minor clean-up _(by Philipp Burckhardt)_
884+
- [`0e887d5`](https://github.com/stdlib-js/stdlib/commit/0e887d567344c8a31a382266389022ec26f2bcca) - **style:** add missing spaces _(by Philipp Burckhardt)_
885+
- [`ff25e13`](https://github.com/stdlib-js/stdlib/commit/ff25e1324e1507cc076078e82badce7fdf7915f6) - **docs:** remove excess whitespace _(by Philipp Burckhardt)_
886+
- [`6bbf2d6`](https://github.com/stdlib-js/stdlib/commit/6bbf2d67034e056190594bf2bceca4eb40a66b6f) - **style:** fix indentation _(by Philipp Burckhardt)_
887+
- [`0756fb5`](https://github.com/stdlib-js/stdlib/commit/0756fb583ae0061031335704fdc46805f408f9c9) - **style:** remove empty lines _(by Philipp Burckhardt)_
888+
- [`cfc0665`](https://github.com/stdlib-js/stdlib/commit/cfc0665435a1f99158d7fed39b8873dea6aa6209) - **docs:** add missing private tag _(by Philipp Burckhardt)_
889+
- [`e450426`](https://github.com/stdlib-js/stdlib/commit/e450426813957ec4de5e31434edb969741db7c94) - **bench:** add missing native suffix _(by Philipp Burckhardt)_
890+
- [`3b4998d`](https://github.com/stdlib-js/stdlib/commit/3b4998d26569c2c7ac9cd437dadcdbe06da0093d) - **chore:** minor clean-up _(by Philipp Burckhardt)_
891+
- [`3c1789f`](https://github.com/stdlib-js/stdlib/commit/3c1789fdfe3ae56635ddf84fb5dfe229237794fa) - **docs:** add missing private annotations and decimals _(by Philipp Burckhardt)_
848892
- [`03494c2`](https://github.com/stdlib-js/stdlib/commit/03494c2d20c88a2ab68fdd9fbf79c396e1885440) - **feat:** add C implementation for `stats/base/dists/t/mean` [(#3922)](https://github.com/stdlib-js/stdlib/pull/3922) _(by Aadish Jain, Philipp Burckhardt)_
849893
- [`a146971`](https://github.com/stdlib-js/stdlib/commit/a1469718890f5a007c6c7343757b621274dad0e0) - **feat:** add C implementation for `stats/base/dists/pareto-type1/skewness` [(#3927)](https://github.com/stdlib-js/stdlib/pull/3927) _(by Gururaj Gurram, Philipp Burckhardt)_
850894
- [`9d7f4db`](https://github.com/stdlib-js/stdlib/commit/9d7f4dbd6c71a2a57b2e55a88e5b7ded091cbd67) - **feat:** add C implementation for `stats/base/dists/beta/skewness` [(#3921)](https://github.com/stdlib-js/stdlib/pull/3921) _(by Vivek maurya, Philipp Burckhardt)_

base/dists/arcsine/cdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ int main( void ) {
216216
double b;
217217
double y;
218218
int i;
219-
219+
220220
for ( i = 0; i < 25; i++ ) {
221221
x = random_uniform( -10.0, 10.0 );
222222
a = random_uniform( -20.0, 0.0 );

base/dists/arcsine/kurtosis/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,20 @@ double stdlib_base_dists_arcsine_kurtosis( const double a, const double b );
198198
#include <stdlib.h>
199199
#include <stdio.h>
200200
201+
static double random_uniform( const double min, const double max ) {
202+
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
203+
return min + ( v * ( max - min ) );
204+
}
205+
201206
int main( void ) {
202207
double a;
203208
double b;
204209
double y;
205210
int i;
206211
207-
static double random_uniform( const double min, const double max ) {
208-
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
209-
return min + ( v * ( max - min ) );
210-
}
211-
212212
for ( i = 0; i < 25; i++ ) {
213-
a = random_uniform( 0, 20 );
214-
b = random_uniform( 0, 20 ) + a;
213+
a = random_uniform( 0.0, 20.0 );
214+
b = random_uniform( 0.0, 20.0 ) + a;
215215
y = stdlib_base_dists_arcsine_kurtosis( a, b );
216216
printf( "a: %lf, b: %lf, Kurt(X;a,b): %lf\n", a, b, y );
217217
}

base/dists/arcsine/kurtosis/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ static double benchmark( void ) {
100100
int i;
101101

102102
for ( i = 0; i < 100; i++ ) {
103-
min[ i ] = random_uniform( 0, 20 );
104-
max[ i ] = random_uniform( 0, 20 ) + min[ i ];
103+
min[ i ] = random_uniform( 0.0, 20.0 );
104+
max[ i ] = random_uniform( 0.0, 20.0 ) + min[ i ];
105105
}
106106

107107
t = tic();

base/dists/arcsine/kurtosis/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ int main( void ) {
3232
int i;
3333

3434
for ( i = 0; i < 25; i++ ) {
35-
a = random_uniform( 0, 20 );
36-
b = random_uniform( 0, 20 ) + a;
35+
a = random_uniform( 0.0, 20.0 );
36+
b = random_uniform( 0.0, 20.0 ) + a;
3737
y = stdlib_base_dists_arcsine_kurtosis( a, b );
3838
printf( "a: %lf, b: %lf, Kurt(X;a,b): %lf\n", a, b, y );
3939
}

base/dists/arcsine/logpdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ int main( void ) {
226226
double b;
227227
double y;
228228
int i;
229-
229+
230230
for ( i = 0; i < 25; i++ ) {
231231
x = random_uniform( -10.0, 10.0 );
232232
a = random_uniform( -20.0, 0.0 );

base/dists/arcsine/logpdf/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var opts = {
3939

4040
// MAIN //
4141

42-
bench( pkg, opts, function benchmark( b ) {
42+
bench( pkg+'::native', opts, function benchmark( b ) {
4343
var len;
4444
var min;
4545
var max;

base/dists/arcsine/logpdf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ double stdlib_base_dists_arcsine_logpdf( const double x, const double a, const d
4343
) {
4444
return 0.0/0.0; // NaN
4545
}
46-
if ( x < a || x > b ){
46+
if ( x < a || x > b ) {
4747
return STDLIB_CONSTANT_FLOAT64_NINF;
4848
}
4949
return -( STDLIB_CONSTANT_FLOAT64_LN_PI + ( stdlib_base_ln( ( x-a ) * ( b-x ) ) / 2.0 ) );

base/dists/arcsine/pdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ int main( void ) {
214214
double b;
215215
double y;
216216
int i;
217-
217+
218218
for ( i = 0; i < 25; i++ ) {
219219
x = random_uniform( -10.0, 10.0 );
220220
a = random_uniform( -20.0, 0.0 );

base/dists/arcsine/pdf/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var opts = {
3939

4040
// MAIN //
4141

42-
bench( pkg, opts, function benchmark( b ) {
42+
bench( pkg+'::native', opts, function benchmark( b ) {
4343
var len;
4444
var min;
4545
var max;

0 commit comments

Comments
 (0)