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
- [`974b609`](https://github.com/stdlib-js/stdlib/commit/974b6094ed693a4a4fc732f9f0de082e2ab3cf89) - add C implementation for `stats/base/dists/degenerate/variance` [(#4022)](https://github.com/stdlib-js/stdlib/pull/4022)
@@ -2039,6 +2073,7 @@ A total of 16 people contributed to this release. Thank you to the following con
2039
2073
2040
2074
<details>
2041
2075
2076
+
- [`974b609`](https://github.com/stdlib-js/stdlib/commit/974b6094ed693a4a4fc732f9f0de082e2ab3cf89) - **feat:** add C implementation for `stats/base/dists/degenerate/variance` [(#4022)](https://github.com/stdlib-js/stdlib/pull/4022) _(by Aayush Khanna)_
2042
2077
- [`242b011`](https://github.com/stdlib-js/stdlib/commit/242b011a78ef3fce16befeca9e36629096e952c1) - **feat:** add C implementation for `stats/base/dists/f/mode` [(#4036)](https://github.com/stdlib-js/stdlib/pull/4036) _(by Vivek maurya, Philipp Burckhardt)_
2043
2078
- [`6c141f4`](https://github.com/stdlib-js/stdlib/commit/6c141f4c169d080eec1867c421aa6ffa88b9ebfd) - **feat:** add C implementation for `stats/base/dists/logistic/skewness` [(#4038)](https://github.com/stdlib-js/stdlib/pull/4038) _(by JoyBoy)_
2044
2079
- [`df52159`](https://github.com/stdlib-js/stdlib/commit/df521591cd6b8d5bb9cfa241e241231d45319285) - **feat:** add C implementation for `stats/base/dists/f/entropy` [(#4044)](https://github.com/stdlib-js/stdlib/pull/4044) _(by Vivek maurya, Philipp Burckhardt)_
Copy file name to clipboardExpand all lines: base/dists/degenerate/variance/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
@@ -111,6 +111,98 @@ for ( i = 0; i < 10; i++ ) {
111
111
112
112
<!-- /.examples -->
113
113
114
+
<!-- C interface documentation. -->
115
+
116
+
* * *
117
+
118
+
<sectionclass="c">
119
+
120
+
## C APIs
121
+
122
+
<!-- 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 );
182
+
return min + ( v*(max-min) );
183
+
}
184
+
185
+
int main( void ) {
186
+
double mu;
187
+
double y;
188
+
int i;
189
+
190
+
for ( i = 0; i < 25; i++ ) {
191
+
mu = random_uniform( 0.0, 100.0 ) - 50.0;
192
+
y = stdlib_base_dists_degenerate_variance( mu );
193
+
printf( "µ: %lf, Var(X;µ): %lf\n", mu, y );
194
+
}
195
+
}
196
+
```
197
+
198
+
</section>
199
+
200
+
<!-- /.examples -->
201
+
202
+
</section>
203
+
204
+
<!-- /.c -->
205
+
114
206
<!-- 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