Enum rv::dist::BernoulliError [−][src]
pub enum BernoulliError { PLessThanZero { p: f64, }, PGreaterThanOne { p: f64, }, PNotFinite { p: f64, }, }
Variants
Bernoulli p is less than zero
Show fields
Fields of PLessThanZero
p: f64
Bernoulli p is greater than one
Show fields
Fields of PGreaterThanOne
p: f64
Bernoulli p is infinite or NaN
Show fields
Fields of PNotFinite
p: f64
Trait Implementations
impl Clone for BernoulliError
[src]
impl Clone for BernoulliError
[src]fn clone(&self) -> BernoulliError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Error for BernoulliError
[src]
impl Error for BernoulliError
[src]impl PartialEq<BernoulliError> for BernoulliError
[src]
impl PartialEq<BernoulliError> for BernoulliError
[src]fn eq(&self, other: &BernoulliError) -> bool
[src]
fn ne(&self, other: &BernoulliError) -> bool
[src]
impl StructuralPartialEq for BernoulliError
[src]
impl StructuralPartialEq for BernoulliError
[src]Auto Trait Implementations
impl RefUnwindSafe for BernoulliError
impl RefUnwindSafe for BernoulliError
impl Send for BernoulliError
impl Send for BernoulliError
impl Sync for BernoulliError
impl Sync for BernoulliError
impl Unpin for BernoulliError
impl Unpin for BernoulliError
impl UnwindSafe for BernoulliError
impl UnwindSafe for BernoulliError
Blanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,