Struct opensrdk_probability::distribution::independent_array_joint::IndependentArrayJoint
source · [−]pub struct IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable, { /* private fields */ }Expand description
p(x|a) = Π p(xi|ai)
Trait Implementations
sourceimpl<D, T, U, Rhs, URhs> BitAnd<Rhs> for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
Rhs: Distribution<Value = Vec<U>, Condition = URhs>,
URhs: RandomVariable,
impl<D, T, U, Rhs, URhs> BitAnd<Rhs> for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
Rhs: Distribution<Value = Vec<U>, Condition = URhs>,
URhs: RandomVariable,
sourceimpl<D: Clone, T: Clone, U: Clone> Clone for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
impl<D: Clone, T: Clone, U: Clone> Clone for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
sourcefn clone(&self) -> IndependentArrayJoint<D, T, U>
fn clone(&self) -> IndependentArrayJoint<D, T, U>
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 more
sourceimpl<D, T, U> ConditionDifferentiableDistribution for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U> + ConditionDifferentiableDistribution,
T: RandomVariable,
U: RandomVariable,
impl<D, T, U> ConditionDifferentiableDistribution for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U> + ConditionDifferentiableDistribution,
T: RandomVariable,
U: RandomVariable,
fn ln_diff_condition(
&self,
x: &Self::Value,
theta: &Self::Condition
) -> Result<Vec<f64>, DistributionError>
sourceimpl<D: Debug, T: Debug, U: Debug> Debug for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
impl<D: Debug, T: Debug, U: Debug> Debug for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
sourceimpl<D, T, U> Distribution for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
impl<D, T, U> Distribution for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
sourceimpl<D, T, U, Rhs, TRhs> Mul<Rhs> for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
Rhs: Distribution<Value = TRhs, Condition = Vec<U>>,
TRhs: RandomVariable,
impl<D, T, U, Rhs, TRhs> Mul<Rhs> for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: RandomVariable,
Rhs: Distribution<Value = TRhs, Condition = Vec<U>>,
TRhs: RandomVariable,
sourceimpl<D, T, U> ValueDifferentiableDistribution for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U> + ValueDifferentiableDistribution,
T: RandomVariable,
U: RandomVariable,
impl<D, T, U> ValueDifferentiableDistribution for IndependentArrayJoint<D, T, U> where
D: Distribution<Value = T, Condition = U> + ValueDifferentiableDistribution,
T: RandomVariable,
U: RandomVariable,
fn ln_diff_value(
&self,
x: &Self::Value,
theta: &Self::Condition
) -> Result<Vec<f64>, DistributionError>
Auto Trait Implementations
impl<D, T, U> RefUnwindSafe for IndependentArrayJoint<D, T, U> where
D: RefUnwindSafe,
impl<D, T, U> Send for IndependentArrayJoint<D, T, U>
impl<D, T, U> Sync for IndependentArrayJoint<D, T, U>
impl<D, T, U> Unpin for IndependentArrayJoint<D, T, U> where
D: Unpin,
impl<D, T, U> UnwindSafe for IndependentArrayJoint<D, T, U> where
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<D, T, U1> ConditionableDistribution for D where
D: Distribution<Value = T, Condition = U1>,
T: RandomVariable,
U1: Event,
impl<D, T, U1> ConditionableDistribution for D where
D: Distribution<Value = T, Condition = U1>,
T: RandomVariable,
U1: Event,
sourcefn condition<U2, F>(
self,
condition: F
) -> ConditionedDistribution<D, <D as Distribution>::Value, <D as Distribution>::Condition, U2, F> where
U2: Event,
F: Fn(&U2) -> Result<<D as Distribution>::Condition, DistributionError> + Clone + Send + Sync,
fn condition<U2, F>(
self,
condition: F
) -> ConditionedDistribution<D, <D as Distribution>::Value, <D as Distribution>::Condition, U2, F> where
U2: Event,
F: Fn(&U2) -> Result<<D as Distribution>::Condition, DistributionError> + Clone + Send + Sync,
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<D, T, U> SwitchableDistribution<U> for D where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: Event,
impl<D, T, U> SwitchableDistribution<U> for D where
D: Distribution<Value = T, Condition = U>,
T: RandomVariable,
U: Event,
fn switch(
&'a self,
map: &'a HashMap<u32, U, RandomState>
) -> SwitchedDistribution<'a, D, <D as Distribution>::Value, U>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more