Enum rand_distr::HyperGeoError
source · [−]pub enum HyperGeoError {
PopulationTooLarge,
ProbabilityTooLarge,
SampleSizeTooLarge,
}
Expand description
Error type returned from Hypergeometric::new
.
Variants
PopulationTooLarge
total_population_size
is too large, causing floating point underflow.
ProbabilityTooLarge
population_with_feature > total_population_size
.
SampleSizeTooLarge
sample_size > total_population_size
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more