Enum rand_distr::NormalError
source · [−]pub enum NormalError {
MeanTooSmall,
BadVariance,
}
Expand description
Error type returned from Normal::new
and LogNormal::new
.
Variants
MeanTooSmall
The mean value is too small (log-normal samples must be positive)
BadVariance
The standard deviation or other dispersion parameter is not finite.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more