pub struct DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,{ /* private fields */ }Implementations
sourceimpl<T> DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
impl<T> DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
sourceimpl<T> DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
impl<T> DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
pub fn mean(&self) -> Result<T, DistributionError>
Trait Implementations
sourceimpl<T, Rhs, URhs> BitAnd<Rhs> for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
Rhs: Distribution<Value = (), Condition = URhs>,
URhs: RandomVariable,
impl<T, Rhs, URhs> BitAnd<Rhs> for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
Rhs: Distribution<Value = (), Condition = URhs>,
URhs: RandomVariable,
type Output = DependentJoint<DiscreteSamplesDistribution<T>, Rhs, T, (), URhs>
type Output = DependentJoint<DiscreteSamplesDistribution<T>, Rhs, T, (), URhs>
The resulting type after applying the
& operator.sourceimpl<T: Clone> Clone for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
impl<T: Clone> Clone for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
sourcefn clone(&self) -> DiscreteSamplesDistribution<T>
fn clone(&self) -> DiscreteSamplesDistribution<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T: Debug> Debug for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
impl<T: Debug> Debug for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
sourceimpl<T> Distribution for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
impl<T> Distribution for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
sourceimpl<T, Rhs, TRhs> Mul<Rhs> for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
Rhs: Distribution<Value = TRhs, Condition = ()>,
TRhs: RandomVariable,
impl<T, Rhs, TRhs> Mul<Rhs> for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
Rhs: Distribution<Value = TRhs, Condition = ()>,
TRhs: RandomVariable,
type Output = IndependentJoint<DiscreteSamplesDistribution<T>, Rhs, T, TRhs, ()>
type Output = IndependentJoint<DiscreteSamplesDistribution<T>, Rhs, T, TRhs, ()>
The resulting type after applying the
* operator.sourceimpl<T> SampleableDistribution for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
impl<T> SampleableDistribution for DiscreteSamplesDistribution<T>where
T: RandomVariable + Eq + Hash,
Auto Trait Implementations
impl<T> RefUnwindSafe for DiscreteSamplesDistribution<T>where
T: RefUnwindSafe,
impl<T> Send for DiscreteSamplesDistribution<T>
impl<T> Sync for DiscreteSamplesDistribution<T>
impl<T> Unpin for DiscreteSamplesDistribution<T>where
T: Unpin,
impl<T> UnwindSafe for DiscreteSamplesDistribution<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more