pub struct LatticeParams {
pub log_up: f64,
pub log_down: f64,
pub p_up: f64,
}Expand description
The general recombining step: S(i, j) = S0 e^{j lu + (i-j) ld},
up with probability p_up.
Fields§
§log_up: f64§log_down: f64§p_up: f64Trait Implementations§
Source§impl Clone for LatticeParams
impl Clone for LatticeParams
Source§fn clone(&self) -> LatticeParams
fn clone(&self) -> LatticeParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LatticeParams
Source§impl Debug for LatticeParams
impl Debug for LatticeParams
Source§impl PartialEq for LatticeParams
impl PartialEq for LatticeParams
impl StructuralPartialEq for LatticeParams
Auto Trait Implementations§
impl Freeze for LatticeParams
impl RefUnwindSafe for LatticeParams
impl Send for LatticeParams
impl Sync for LatticeParams
impl Unpin for LatticeParams
impl UnsafeUnpin for LatticeParams
impl UnwindSafe for LatticeParams
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