Struct SLPPermutation

Source
pub struct SLPPermutation {
    pub element: (SLP, Permutation),
}
Expand description

A special product of a SLP and a Permutation.

Fields§

§element: (SLP, Permutation)

The product of a SLP and a Permutation.

Implementations§

Source§

impl SLPPermutation

Source

pub fn new(slp: SLP, permutation: Permutation) -> SLPPermutation

Create an SLPPermutation.

Source

pub fn transform(&self, morphism: &Morphism<SLP, Word>) -> Word

Map the SLPPermutation in to a Word according to the Morphism.

Trait Implementations§

Source§

impl Debug for SLPPermutation

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl GroupAction for SLPPermutation

Source§

type Domain = u64

The set the group acts on.
Source§

fn act_on(&self, original: &u64) -> u64

The action that the group has on the domain.
Source§

impl GroupElement for SLPPermutation

Source§

fn is_identity(&self) -> bool

Determine if the group element is the identity.
Source§

fn times(&self, multiplicant: &SLPPermutation) -> SLPPermutation

The associated operation of the Group.
Source§

fn inverse(&self) -> SLPPermutation

Returns the inverse of the group element.
Source§

impl PartialEq for SLPPermutation

Source§

fn eq(&self, other: &SLPPermutation) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for SLPPermutation

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.