Struct reed_solomon_novelpoly::field::f2e16::Additive
source · pub struct Additive(pub Elt);
Expand description
Additive via XOR form of f2e16
Tuple Fields§
§0: Elt
Implementations§
source§impl Additive
impl Additive
sourcepub fn to_multiplier(self) -> Multiplier
pub fn to_multiplier(self) -> Multiplier
Return multiplier prepared form
sourcepub fn mul(self, other: Multiplier) -> Additive
pub fn mul(self, other: Multiplier) -> Additive
Return a*EXP_TABLE[b] over GF(2^r)
sourcepub fn mul_assign_slice(selfy: &mut [Self], other: Multiplier)
pub fn mul_assign_slice(selfy: &mut [Self], other: Multiplier)
Multiply field elements by a single multiplier, using SIMD if available
Trait Implementations§
source§impl BitXorAssign<Additive> for Additive
impl BitXorAssign<Additive> for Additive
source§fn bitxor_assign(&mut self, rhs: Additive)
fn bitxor_assign(&mut self, rhs: Additive)
Performs the
^=
operation. Read moresource§impl PartialEq<Additive> for Additive
impl PartialEq<Additive> for Additive
impl Copy for Additive
impl Eq for Additive
impl StructuralEq for Additive
impl StructuralPartialEq for Additive
Auto Trait Implementations§
impl RefUnwindSafe for Additive
impl Send for Additive
impl Sync for Additive
impl Unpin for Additive
impl UnwindSafe for Additive
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