Struct qmc::sse::fast_ops::FastOpsTemplate[][src]

pub struct FastOpsTemplate<O: Op, ALLOC: FastOpAllocator = DefaultFastOpAllocator> { /* fields omitted */ }

A fast op container.

Implementations

impl<O: Op + Clone, ALLOC: FastOpAllocator> FastOpsTemplate<O, ALLOC>[src]

pub fn new_from_nvars_and_nbonds_and_alloc(
    nvars: usize,
    nbonds: Option<usize>,
    alloc: ALLOC
) -> Self
[src]

A new manager which can handle nvars and is optimized for nbonds, will allocate memory using the given allocator.

pub fn new_from_nvars_and_nbonds(nvars: usize, nbonds: Option<usize>) -> Self[src]

A new manager which can handle nvars and is optimized for nbonds.

pub fn new_from_nvars(nvars: usize) -> Self[src]

New manager which can handle nvars

pub fn new_from_ops<I>(nvars: usize, ps_and_ops: I) -> Self where
    I: IntoIterator<Item = (usize, O)>, 
[src]

Make a new Manager from an interator of ops, and number of variables.

Trait Implementations

impl<O: Clone + Op, ALLOC: Clone + FastOpAllocator> Clone for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> ClusterUpdater for FastOpsTemplate<O, ALLOC>[src]

impl<O: Debug + Op, ALLOC: Debug + FastOpAllocator> Debug for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op, ALLOC: FastOpAllocator> DebugOps for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> DiagonalSubsection for FastOpsTemplate<O, ALLOC>[src]

type Args = FastOpMutateArgs

The type required for mutating p values.

impl<O: Op + Clone, ALLOC: FastOpAllocator> DiagonalUpdater for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BinaryHeap<Reverse<usize>>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<Vec<(usize, OpSide), Global>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<Vec<OpSide, Global>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<Vec<Option<usize>, Global>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<Vec<bool, Global>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<Vec<f64, Global>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<Vec<usize, Global>> for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> HeatBathDiagonalUpdater for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op, ALLOC: FastOpAllocator> IsingManager for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> LoopUpdater for FastOpsTemplate<O, ALLOC>[src]

type Node = FastOpNodeTemplate<O>

The type used to contain the Op and handle movement around the worldlines.

impl<O: Op + Clone, ALLOC: FastOpAllocator> OpContainer for FastOpsTemplate<O, ALLOC>[src]

type Op = O

The op object to manage.

impl<O: Op + Clone, ALLOC: FastOpAllocator> OpContainerConstructor for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op, ALLOC: FastOpAllocator> QmcManager for FastOpsTemplate<O, ALLOC>[src]

impl<O: Op + Clone, ALLOC: FastOpAllocator> RvbUpdater for FastOpsTemplate<O, ALLOC>[src]

Auto Trait Implementations

impl<O, ALLOC> RefUnwindSafe for FastOpsTemplate<O, ALLOC> where
    ALLOC: RefUnwindSafe,
    O: RefUnwindSafe

impl<O, ALLOC> Send for FastOpsTemplate<O, ALLOC> where
    ALLOC: Send,
    O: Send

impl<O, ALLOC> Sync for FastOpsTemplate<O, ALLOC> where
    ALLOC: Sync,
    O: Sync

impl<O, ALLOC> Unpin for FastOpsTemplate<O, ALLOC> where
    ALLOC: Unpin,
    O: Unpin

impl<O, ALLOC> UnwindSafe for FastOpsTemplate<O, ALLOC> where
    ALLOC: UnwindSafe,
    O: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,