pub struct EllipticalSliceSampler<'a, L, P, A, B>where
L: Distribution<Value = A, Condition = B>,
P: SampleableDistribution<Value = B, Condition = ()>,
A: RandomVariable,
B: RandomVariable,{ /* private fields */ }Expand description
Sample b from posterior p(b|a) with likelihood p(a|b) and prior p(b)
b must be generated by elliptical distribution
Implementations
sourceimpl<'a, L, P, A, B> EllipticalSliceSampler<'a, L, P, A, B>where
L: Distribution<Value = A, Condition = B>,
P: SampleableDistribution<Value = B, Condition = ()>,
A: RandomVariable,
B: RandomVariable,
impl<'a, L, P, A, B> EllipticalSliceSampler<'a, L, P, A, B>where
L: Distribution<Value = A, Condition = B>,
P: SampleableDistribution<Value = B, Condition = ()>,
A: RandomVariable,
B: RandomVariable,
Auto Trait Implementations
impl<'a, L, P, A, B> RefUnwindSafe for EllipticalSliceSampler<'a, L, P, A, B>where
A: RefUnwindSafe,
L: RefUnwindSafe,
P: RefUnwindSafe,
impl<'a, L, P, A, B> Send for EllipticalSliceSampler<'a, L, P, A, B>
impl<'a, L, P, A, B> Sync for EllipticalSliceSampler<'a, L, P, A, B>
impl<'a, L, P, A, B> Unpin for EllipticalSliceSampler<'a, L, P, A, B>
impl<'a, L, P, A, B> UnwindSafe for EllipticalSliceSampler<'a, L, P, A, B>where
A: RefUnwindSafe,
L: RefUnwindSafe,
P: RefUnwindSafe,
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