|
7 | 7 | // except according to those terms.
|
8 | 8 |
|
9 | 9 | #![feature(test)]
|
| 10 | +#![feature(custom_inner_attributes)] |
10 | 11 |
|
11 | 12 | // Rustfmt slits many macro invocations to shorten lines; in this case longer-lines are more readable
|
12 | 13 | #![rustfmt::skip]
|
@@ -211,6 +212,10 @@ distr_float!(distr_normal, f64, Normal::new(-1.23, 4.56).unwrap());
|
211 | 212 | distr_float!(distr_log_normal, f64, LogNormal::new(-1.23, 4.56).unwrap());
|
212 | 213 | distr_float!(distr_gamma_large_shape, f64, Gamma::new(10., 1.0).unwrap());
|
213 | 214 | distr_float!(distr_gamma_small_shape, f64, Gamma::new(0.1, 1.0).unwrap());
|
| 215 | +distr_float!(distr_beta_small_param, f64, Beta::new(0.1, 0.1).unwrap()); |
| 216 | +distr_float!(distr_beta_large_param_similar, f64, Beta::new(101., 95.).unwrap()); |
| 217 | +distr_float!(distr_beta_large_param_different, f64, Beta::new(10., 1000.).unwrap()); |
| 218 | +distr_float!(distr_beta_mixed_param, f64, Beta::new(0.5, 100.).unwrap()); |
214 | 219 | distr_float!(distr_cauchy, f64, Cauchy::new(4.2, 6.9).unwrap());
|
215 | 220 | distr_float!(distr_triangular, f64, Triangular::new(0., 1., 0.9).unwrap());
|
216 | 221 | distr_int!(distr_binomial, u64, Binomial::new(20, 0.7).unwrap());
|
|
0 commit comments