Trait permutation_rs::group::GroupElement
[−]
[src]
pub trait GroupElement { fn is_identity(&self) -> bool; fn times(&self, multiplicant: &Self) -> Self; fn inverse(&self) -> Self; }
The contract for a group element.
Required Methods
fn is_identity(&self) -> bool
Determine if the group element is the identity.
fn times(&self, multiplicant: &Self) -> Self
The associated operation of the Group.
fn inverse(&self) -> Self
Returns the inverse of the group element.
Implementors
impl GroupElement for Permutation
impl GroupElement for Word
impl GroupElement for SLP
impl GroupElement for SLPPermutation