pub struct IsingKernel {
pub a: VarSpec,
pub b: VarSpec,
}Expand description
Ising pairwise kernel over two binary vars: scope [a,b], card 2 each. Params: [h_a0, h_a1, h_b0, h_b1, J_same, J_diff] (simple template)
Fields§
§a: VarSpec§b: VarSpecTrait Implementations§
Source§impl FactorKernel for IsingKernel
impl FactorKernel for IsingKernel
Auto Trait Implementations§
impl Freeze for IsingKernel
impl RefUnwindSafe for IsingKernel
impl Send for IsingKernel
impl Sync for IsingKernel
impl Unpin for IsingKernel
impl UnsafeUnpin for IsingKernel
impl UnwindSafe for IsingKernel
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