pub trait DistributionSampler {
// Required methods
fn gamma(&self, shape: Float, scale: Float) -> Float;
fn normal(&self, mean: Float, std_dev: Float) -> Float;
}Expand description
Provides the way to sample from different distributions.