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
@@ -180,6 +180,27 @@ let x = DVector::from_vec(vec![1.0, -1.0]);
180
180
println!("Log PDF: {}", mvn.log_pdf(&x));
181
181
```
182
182
183
+
### Discrete Distributions
184
+
185
+
Use `DiscreteDistribution` for count-valued distributions with probability mass functions and seeded sampling. `Poisson::new(lambda)` requires `lambda` to be finite, positive, and no greater than `1e12`. Add `rand = "0.8"` to your application dependencies when using the seeded sampling example.
0 commit comments