You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [`4d6fbbd`](https://github.com/stdlib-js/stdlib/commit/4d6fbbd6ec73ee9d0ccb3bba1869f34d184329dd) - add C implementation for `stats/base/dists/uniform/entropy` [(#4021)](https://github.com/stdlib-js/stdlib/pull/4021)
@@ -1698,6 +1732,7 @@ A total of 15 people contributed to this release. Thank you to the following con
1698
1732
1699
1733
<details>
1700
1734
1735
+
- [`4d6fbbd`](https://github.com/stdlib-js/stdlib/commit/4d6fbbd6ec73ee9d0ccb3bba1869f34d184329dd) - **feat:** add C implementation for `stats/base/dists/uniform/entropy` [(#4021)](https://github.com/stdlib-js/stdlib/pull/4021) _(by Divyansh Seth, Philipp Burckhardt)_
1701
1736
- [`b283652`](https://github.com/stdlib-js/stdlib/commit/b2836521feb83b741d0190d7600f297f0379851f) - **feat:** add C implementation for `stats/base/dists/f/mean` [(#4033)](https://github.com/stdlib-js/stdlib/pull/4033) _(by Vivek maurya)_
1702
1737
- [`118284b`](https://github.com/stdlib-js/stdlib/commit/118284b97293f409c1769047675bed85ddf4dd20) - **feat:** add C implementation for `stats/base/dists/chisquare/skewness` [(#4005)](https://github.com/stdlib-js/stdlib/pull/4005) _(by Vivek maurya, Philipp Burckhardt)_
1703
1738
- [`7a87244`](https://github.com/stdlib-js/stdlib/commit/7a872442e344e03a69d987f0f7b89d1344d5547c) - **feat:** add C implementation for `stats/base/dists/chisquare/entropy` [(#4007)](https://github.com/stdlib-js/stdlib/pull/4007) _(by Vivek maurya, Philipp Burckhardt)_
Copy file name to clipboardExpand all lines: base/dists/uniform/entropy/README.md
+95Lines changed: 95 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,101 @@ for ( i = 0; i < 10; i++ ) {
133
133
134
134
<!-- /.examples -->
135
135
136
+
<!-- C interface documentation. -->
137
+
138
+
* * *
139
+
140
+
<sectionclass="c">
141
+
142
+
## C APIs
143
+
144
+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );
205
+
return min + ( v*(max-min) );
206
+
}
207
+
208
+
int main( void ) {
209
+
double a;
210
+
double b;
211
+
double v;
212
+
double i;
213
+
214
+
for ( i = 0; i < 25; i++ ) {
215
+
a = random_uniform( 0.0, 10.0 );
216
+
b = random_uniform( a, a+10.0 );
217
+
v = stdlib_base_dists_uniform_entropy( a, b );
218
+
printf( "a: %lf, b: %lf, h(X;a,b): %lf\n", a, b, v );
219
+
}
220
+
}
221
+
```
222
+
223
+
</section>
224
+
225
+
<!-- /.examples -->
226
+
227
+
</section>
228
+
229
+
<!-- /.c -->
230
+
136
231
<!-- 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. -->
0 commit comments