Trait qmc::sse::qmc_debug::DebugOps[][src]

pub trait DebugOps: OpContainer {
    fn count_diagonal_and_off(&self) -> (usize, usize) { ... }
fn count_constant_ops(&self) -> usize { ... } }
Expand description

Enables debugging OpContainers

Provided methods

fn count_diagonal_and_off(&self) -> (usize, usize)[src]

Expand description

Count the number of diagonal and offdiagonal ops. Sum is self.get_n()

fn count_constant_ops(&self) -> usize[src]

Expand description

Count the number of constant ops.

Implementors

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