pub struct FF2(/* private fields */);Expand description
An element of the finite field ๐ฝโ.
Trait Implementationsยง
Sourceยงimpl AddAssign for FF2
impl AddAssign for FF2
Sourceยงfn add_assign(&mut self, rhs: FF2)
fn add_assign(&mut self, rhs: FF2)
Performs the
+= operation. Read moreSourceยงimpl AddAssign<&FF2> for FF2
impl AddAssign<&FF2> for FF2
Sourceยงfn add_assign(&mut self, rhs: &FF2)
fn add_assign(&mut self, rhs: &FF2)
Performs the
+= operation. Read moreimpl AddGrp for FF2
impl AddGrpOps for FF2
impl AddGrpOps<FF2> for &FF2
impl AddMonOps for FF2
impl AddMonOps<FF2> for &FF2
impl Copy for FF2
Sourceยงimpl DivAssign for FF2
impl DivAssign for FF2
Sourceยงfn div_assign(&mut self, rhs: FF2)
fn div_assign(&mut self, rhs: FF2)
Performs the
/= operation. Read moreSourceยงimpl DivAssign<&FF2> for FF2
impl DivAssign<&FF2> for FF2
Sourceยงfn div_assign(&mut self, rhs: &FF2)
fn div_assign(&mut self, rhs: &FF2)
Performs the
/= operation. Read moreimpl Eq for FF2
Sourceยงimpl EucRing for FF2
impl EucRing for FF2
impl EucRingOps for FF2
impl EucRingOps<FF2> for &FF2
impl Field for FF2
impl FieldOps for FF2
impl FieldOps<FF2> for &FF2
impl MonOps for FF2
impl MonOps<FF2> for &FF2
Sourceยงimpl MulAssign for FF2
impl MulAssign for FF2
Sourceยงfn mul_assign(&mut self, rhs: FF2)
fn mul_assign(&mut self, rhs: FF2)
Performs the
*= operation. Read moreSourceยงimpl MulAssign<&FF2> for FF2
impl MulAssign<&FF2> for FF2
Sourceยงfn mul_assign(&mut self, rhs: &FF2)
fn mul_assign(&mut self, rhs: &FF2)
Performs the
*= operation. Read moreSourceยงimpl RemAssign for FF2
impl RemAssign for FF2
Sourceยงfn rem_assign(&mut self, rhs: FF2)
fn rem_assign(&mut self, rhs: FF2)
Performs the
%= operation. Read moreSourceยงimpl RemAssign<&FF2> for FF2
impl RemAssign<&FF2> for FF2
Sourceยงfn rem_assign(&mut self, rhs: &FF2)
fn rem_assign(&mut self, rhs: &FF2)
Performs the
%= operation. Read moreSourceยงimpl Ring for FF2
impl Ring for FF2
Sourceยงfn inv(&self) -> Option<Self>
fn inv(&self) -> Option<Self>
Multiplicative inverse, if this element is a unit; otherwise
None.Sourceยงfn is_unit(&self) -> bool
fn is_unit(&self) -> bool
true iff this element is a unit (has a multiplicative inverse). Read moreSourceยงfn normalizing_unit(&self) -> Self
fn normalizing_unit(&self) -> Self
Sourceยงfn c_weight(&self) -> f64
fn c_weight(&self) -> f64
Heuristic cost of working with this element, used by chain-reduction
pivot selection. Default:
0.0 for zero, 1.0 otherwise.Sourceยงfn normalized(&self) -> Self
fn normalized(&self) -> Self
The canonical associate of
self (i.e. self * self.normalizing_unit()).Sourceยงfn into_normalized(self) -> Self
fn into_normalized(self) -> Self
Like
normalized, but consuming.impl RingOps for FF2
impl RingOps<FF2> for &FF2
impl StructuralPartialEq for FF2
Sourceยงimpl SubAssign for FF2
impl SubAssign for FF2
Sourceยงfn sub_assign(&mut self, rhs: FF2)
fn sub_assign(&mut self, rhs: FF2)
Performs the
-= operation. Read moreSourceยงimpl SubAssign<&FF2> for FF2
impl SubAssign<&FF2> for FF2
Sourceยงfn sub_assign(&mut self, rhs: &FF2)
fn sub_assign(&mut self, rhs: &FF2)
Performs the
-= operation. Read moreAuto Trait Implementationsยง
impl Freeze for FF2
impl RefUnwindSafe for FF2
impl Send for FF2
impl Sync for FF2
impl Unpin for FF2
impl UnsafeUnpin for FF2
impl UnwindSafe for FF2
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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