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
- [`930ed98`](https://github.com/stdlib-js/stdlib/commit/930ed98207b9ae67f00b23917755589dbbd03fe5) - add C implementation for `stats/base/dists/uniform/variance` [(#3951)](https://github.com/stdlib-js/stdlib/pull/3951)
@@ -1015,6 +1049,7 @@ A total of 12 people contributed to this release. Thank you to the following con
1015
1049
1016
1050
<details>
1017
1051
1052
+
- [`930ed98`](https://github.com/stdlib-js/stdlib/commit/930ed98207b9ae67f00b23917755589dbbd03fe5) - **feat:** add C implementation for `stats/base/dists/uniform/variance` [(#3951)](https://github.com/stdlib-js/stdlib/pull/3951) _(by Aayush Khanna)_
1018
1053
- [`ad7c388`](https://github.com/stdlib-js/stdlib/commit/ad7c3880af37bccd159b6623f92d4b0212eaf0db) - **feat:** add C implementation for `stats/base/dists/t/logpdf` [(#3934)](https://github.com/stdlib-js/stdlib/pull/3934) _(by Aadish Jain, Philipp Burckhardt)_
1019
1054
- [`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)_
1020
1055
- [`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)_
Copy file name to clipboardExpand all lines: base/dists/uniform/variance/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 y;
212
+
int i;
213
+
214
+
for ( i = 0; i < 25; i++ ) {
215
+
a = random_uniform( 0.0, 20.0 );
216
+
b = random_uniform( 0.0, 20.0 ) + a;
217
+
y = stdlib_base_dists_uniform_variance( a, b );
218
+
printf( "a: %lf, b: %lf, Var(X;a,b): %lf\n", a, b, y );
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