pub struct AnnihilatorWitness {
pub n_vars: usize,
pub degree: usize,
pub coeffs: Vec<bool>,
pub annihilates_complement: bool,
}Expand description
A re-checkable annihilator witness: coeffs is the ANF (over [monomials](n_vars, degree)) of a
nonzero g of degree degree that vanishes on C’s support (annihilates_complement = false) or on
C’s zero-set (= true, i.e. g annihilates C ⊕ 1).
Fields§
§n_vars: usize§degree: usize§coeffs: Vec<bool>§annihilates_complement: boolTrait Implementations§
Source§impl Clone for AnnihilatorWitness
impl Clone for AnnihilatorWitness
Source§fn clone(&self) -> AnnihilatorWitness
fn clone(&self) -> AnnihilatorWitness
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 moreSource§impl Debug for AnnihilatorWitness
impl Debug for AnnihilatorWitness
Source§impl PartialEq for AnnihilatorWitness
impl PartialEq for AnnihilatorWitness
Source§fn eq(&self, other: &AnnihilatorWitness) -> bool
fn eq(&self, other: &AnnihilatorWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AnnihilatorWitness
impl StructuralPartialEq for AnnihilatorWitness
Auto Trait Implementations§
impl Freeze for AnnihilatorWitness
impl RefUnwindSafe for AnnihilatorWitness
impl Send for AnnihilatorWitness
impl Sync for AnnihilatorWitness
impl Unpin for AnnihilatorWitness
impl UnsafeUnpin for AnnihilatorWitness
impl UnwindSafe for AnnihilatorWitness
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