pub struct MclmcInfo {
pub energy_change: f64,
pub diverging: bool,
pub divergence_info: Option<DivergenceInfo>,
pub num_steps: u64,
pub average_step_size: f64,
}Expand description
Diagnostic information returned for a single MCLMC draw.
Fields§
§energy_change: f64Accumulated energy change ΔKE − Δlogp over the draw’s leapfrog steps.
diverging: boolWhether the trajectory hit a divergence.
divergence_info: Option<DivergenceInfo>Full divergence details, if any.
num_steps: u64Number of leapfrog steps actually taken.
average_step_size: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for MclmcInfo
impl !RefUnwindSafe for MclmcInfo
impl Send for MclmcInfo
impl Sync for MclmcInfo
impl Unpin for MclmcInfo
impl UnsafeUnpin for MclmcInfo
impl !UnwindSafe for MclmcInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more