pub struct SamplerState {
pub position: Vec<f64>,
pub log_density: f64,
}Expand description
Internal state for MCMC chains.
Fields§
§position: Vec<f64>Current position in parameter space.
log_density: f64Current log-density value.
Trait Implementations§
Source§impl Clone for SamplerState
impl Clone for SamplerState
Source§fn clone(&self) -> SamplerState
fn clone(&self) -> SamplerState
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SamplerState
impl RefUnwindSafe for SamplerState
impl Send for SamplerState
impl Sync for SamplerState
impl Unpin for SamplerState
impl UnsafeUnpin for SamplerState
impl UnwindSafe for SamplerState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more