pub struct DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: Event,
UR: Event,{ /* private fields */ }Expand description
p(x, y) = p(x | y) p(y)
Implementations§
source§impl<L, R, T, UL, UR> DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: Event,
UR: Event,
impl<L, R, T, UL, UR> DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: Event,
UR: Event,
Trait Implementations§
source§impl<L, R, T, UL, UR, Rhs, URhs> BitAnd<Rhs> for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: RandomVariable,
UR: RandomVariable,
Rhs: Distribution<Value = UR, Condition = URhs>,
URhs: RandomVariable,
impl<L, R, T, UL, UR, Rhs, URhs> BitAnd<Rhs> for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: RandomVariable,
UR: RandomVariable,
Rhs: Distribution<Value = UR, Condition = URhs>,
URhs: RandomVariable,
§type Output = DependentJoint<DependentJoint<L, R, T, UL, UR>, Rhs, (T, UL), UR, URhs>
type Output = DependentJoint<DependentJoint<L, R, T, UL, UR>, Rhs, (T, UL), UR, URhs>
The resulting type after applying the
& operator.source§impl<L, R, T, UL, UR> Clone for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL> + Clone,
R: Distribution<Value = UL, Condition = UR> + Clone,
T: RandomVariable + Clone,
UL: Event + Clone,
UR: Event + Clone,
impl<L, R, T, UL, UR> Clone for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL> + Clone,
R: Distribution<Value = UL, Condition = UR> + Clone,
T: RandomVariable + Clone,
UL: Event + Clone,
UR: Event + Clone,
source§fn clone(&self) -> DependentJoint<L, R, T, UL, UR>
fn clone(&self) -> DependentJoint<L, R, T, UL, UR>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<L, R, T, UL, UR> ConditionDifferentiableDistribution for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR> + ConditionDifferentiableDistribution,
T: RandomVariable,
UL: RandomVariable,
UR: RandomVariable,
impl<L, R, T, UL, UR> ConditionDifferentiableDistribution for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR> + ConditionDifferentiableDistribution,
T: RandomVariable,
UL: RandomVariable,
UR: RandomVariable,
fn ln_diff_condition(
&self,
x: &Self::Value,
theta: &Self::Condition
) -> Result<Vec<f64>, DistributionError>
source§impl<L, R, T, UL, UR> Debug for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL> + Debug,
R: Distribution<Value = UL, Condition = UR> + Debug,
T: RandomVariable + Debug,
UL: Event + Debug,
UR: Event + Debug,
impl<L, R, T, UL, UR> Debug for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL> + Debug,
R: Distribution<Value = UL, Condition = UR> + Debug,
T: RandomVariable + Debug,
UL: Event + Debug,
UR: Event + Debug,
source§impl<L, R, T, UL, UR> Distribution for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: RandomVariable,
UR: Event,
impl<L, R, T, UL, UR> Distribution for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: RandomVariable,
UR: Event,
source§impl<L, R, T, UL, UR, Rhs, TRhs> Mul<Rhs> for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: RandomVariable,
UR: RandomVariable,
Rhs: Distribution<Value = TRhs, Condition = UR>,
TRhs: RandomVariable,
impl<L, R, T, UL, UR, Rhs, TRhs> Mul<Rhs> for DependentJoint<L, R, T, UL, UR>where
L: Distribution<Value = T, Condition = UL>,
R: Distribution<Value = UL, Condition = UR>,
T: RandomVariable,
UL: RandomVariable,
UR: RandomVariable,
Rhs: Distribution<Value = TRhs, Condition = UR>,
TRhs: RandomVariable,
§type Output = IndependentJoint<DependentJoint<L, R, T, UL, UR>, Rhs, (T, UL), TRhs, UR>
type Output = IndependentJoint<DependentJoint<L, R, T, UL, UR>, Rhs, (T, UL), TRhs, UR>
The resulting type after applying the
* operator.