pub struct MarkovChain {
pub samples: Vec<Vec<f64>>,
pub acceptance_rate: f64,
pub proposal_scale: Vec<f64>,
}Expand description
A Markov chain.
Fields§
§samples: Vec<Vec<f64>>§acceptance_rate: f64The fraction of proposals accepted after burn-in.
proposal_scale: Vec<f64>The proposal scale actually used after any adaptation.
Implementations§
Trait Implementations§
Source§impl Clone for MarkovChain
impl Clone for MarkovChain
Auto Trait Implementations§
impl Freeze for MarkovChain
impl RefUnwindSafe for MarkovChain
impl Send for MarkovChain
impl Sync for MarkovChain
impl Unpin for MarkovChain
impl UnsafeUnpin for MarkovChain
impl UnwindSafe for MarkovChain
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