pub struct MultiplicativeGroup<A>where
A: Monoid,{ /* private fields */ }
Expand description
The multiplicative group of a unitary ring or field, or more generally the group of invertible elements of any monoid.
Implementations§
Trait Implementations§
Source§impl<A> Clone for MultiplicativeGroup<A>
impl<A> Clone for MultiplicativeGroup<A>
Source§fn clone(&self) -> MultiplicativeGroup<A>
fn clone(&self) -> MultiplicativeGroup<A>
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<A> Debug for MultiplicativeGroup<A>
impl<A> Debug for MultiplicativeGroup<A>
Source§impl<A> Domain for MultiplicativeGroup<A>where
A: Monoid,
impl<A> Domain for MultiplicativeGroup<A>where
A: Monoid,
Source§impl<A> Group for MultiplicativeGroup<A>where
A: Monoid,
impl<A> Group for MultiplicativeGroup<A>where
A: Monoid,
Source§impl<A> Monoid for MultiplicativeGroup<A>where
A: Monoid,
impl<A> Monoid for MultiplicativeGroup<A>where
A: Monoid,
Source§fn is_one(&self, elem: &Self::Elem) -> bool
fn is_one(&self, elem: &Self::Elem) -> bool
Checks if the given element is the multiplicative identity.
Source§fn try_inv(&self, elem: &Self::Elem) -> Option<Self::Elem>
fn try_inv(&self, elem: &Self::Elem) -> Option<Self::Elem>
Calculates the multiplicative inverse of the given element if it exists.
Source§fn invertible(&self, _elem: &Self::Elem) -> bool
fn invertible(&self, _elem: &Self::Elem) -> bool
Returns true if the given element has a multiplicative inverse.
Source§impl<A> Semigroup for MultiplicativeGroup<A>where
A: Monoid,
impl<A> Semigroup for MultiplicativeGroup<A>where
A: Monoid,
Auto Trait Implementations§
impl<A> Freeze for MultiplicativeGroup<A>where
A: Freeze,
impl<A> RefUnwindSafe for MultiplicativeGroup<A>where
A: RefUnwindSafe,
impl<A> Send for MultiplicativeGroup<A>where
A: Send,
impl<A> Sync for MultiplicativeGroup<A>where
A: Sync,
impl<A> Unpin for MultiplicativeGroup<A>where
A: Unpin,
impl<A> UnwindSafe for MultiplicativeGroup<A>where
A: UnwindSafe,
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