pub struct AffineEquivalenceFactors {
pub d: Vec<u32>,
pub a: u32,
pub b: u32,
pub c: bool,
}Expand description
Affine-equivalence factors between 2 $n$-variable Boolean functions.
Check the definition of affine-equivalence here.
Fields§
§d: Vec<u32>Invertible Boolean matrix $\in \mathcal M_n(\mathbb{F}_2)$, each u32 element of the Vec<u32> data structure is a column of the matrix.
a: u32Boolean vector $\in \mathbb{F}^n_2$
b: u32Boolean vector $\in \mathbb{F}^n_2$
c: boolBoolean
Trait Implementations§
Source§impl Clone for AffineEquivalenceFactors
impl Clone for AffineEquivalenceFactors
Source§fn clone(&self) -> AffineEquivalenceFactors
fn clone(&self) -> AffineEquivalenceFactors
Returns a duplicate of the value. Read more
1.0.0 · 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 AffineEquivalenceFactors
impl Debug for AffineEquivalenceFactors
Source§impl PartialEq for AffineEquivalenceFactors
impl PartialEq for AffineEquivalenceFactors
impl Eq for AffineEquivalenceFactors
impl StructuralPartialEq for AffineEquivalenceFactors
Auto Trait Implementations§
impl Freeze for AffineEquivalenceFactors
impl RefUnwindSafe for AffineEquivalenceFactors
impl Send for AffineEquivalenceFactors
impl Sync for AffineEquivalenceFactors
impl Unpin for AffineEquivalenceFactors
impl UnwindSafe for AffineEquivalenceFactors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more