pub struct LinearStructureReport {
pub num_vars: usize,
pub basis: Vec<usize>,
pub derivative: Vec<bool>,
}Expand description
The linear space V(f) of a Boolean function: the directions along which the derivative is constant.
Fields§
§num_vars: usize§basis: Vec<usize>A GF(2) echelon basis of V(f); each element is a nonzero variable bitmask.
derivative: Vec<bool>For each basis vector a, the constant value of f(x⊕a) ⊕ f(x): false = an invariance (period),
true = a complement (always flips the output).
Implementations§
Source§impl LinearStructureReport
impl LinearStructureReport
Trait Implementations§
Source§impl Clone for LinearStructureReport
impl Clone for LinearStructureReport
Source§fn clone(&self) -> LinearStructureReport
fn clone(&self) -> LinearStructureReport
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 moreAuto Trait Implementations§
impl Freeze for LinearStructureReport
impl RefUnwindSafe for LinearStructureReport
impl Send for LinearStructureReport
impl Sync for LinearStructureReport
impl Unpin for LinearStructureReport
impl UnsafeUnpin for LinearStructureReport
impl UnwindSafe for LinearStructureReport
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