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
- [`7a87244`](https://github.com/stdlib-js/stdlib/commit/7a872442e344e03a69d987f0f7b89d1344d5547c) - add C implementation for `stats/base/dists/chisquare/entropy` [(#4007)](https://github.com/stdlib-js/stdlib/pull/4007)
@@ -1596,6 +1630,7 @@ A total of 15 people contributed to this release. Thank you to the following con
1596
1630
1597
1631
<details>
1598
1632
1633
+
- [`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)_
1599
1634
- [`7550aab`](https://github.com/stdlib-js/stdlib/commit/7550aabe1fa42666821032ad60b42437ee7e304e) - **feat:** add C implementation for `stats/base/dists/normal/stdev` [(#4003)](https://github.com/stdlib-js/stdlib/pull/4003) _(by Manvith M, Philipp Burckhardt)_
1600
1635
- [`8bf8285`](https://github.com/stdlib-js/stdlib/commit/8bf8285aba0ecbd00ae145c4c5c098cd28135814) - **chore:** minor clean-up _(by Philipp Burckhardt)_
1601
1636
- [`9685979`](https://github.com/stdlib-js/stdlib/commit/968597945b0e8d1042ce17b6e08ca0f3e64058b4) - **feat:** add C implementation for `stats/base/dists/logistic/variance` [(#3994)](https://github.com/stdlib-js/stdlib/pull/3994) _(by Aayush Khanna, stdlib-bot)_
Copy file name to clipboardExpand all lines: base/dists/chisquare/entropy/README.md
+92Lines changed: 92 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,98 @@ for ( i = 0; i < 10; i++ ) {
116
116
117
117
<!-- /.examples -->
118
118
119
+
<!-- C interface documentation. -->
120
+
121
+
* * *
122
+
123
+
<sectionclass="c">
124
+
125
+
## C APIs
126
+
127
+
<!-- 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 );
187
+
return min + ( v*(max-min) );
188
+
}
189
+
190
+
int main( void ) {
191
+
double k;
192
+
double y;
193
+
int i;
194
+
195
+
for ( i = 0; i < 25; i++ ) {
196
+
k = random_uniform( 0.0, 20.0 );
197
+
y = stdlib_base_dists_chisquare_entropy( k );
198
+
printf( "k: %lf, entropy(X,k): %lf\n", k, y );
199
+
}
200
+
}
201
+
```
202
+
203
+
</section>
204
+
205
+
<!-- /.examples -->
206
+
207
+
</section>
208
+
209
+
<!-- /.c -->
210
+
119
211
<!-- 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