Trait qsym2::permutation::IntoPermutation

source ·
pub trait IntoPermutation<C: PermutableCollection> {
    // Required method
    fn act_permute(&self, rhs: &C) -> Option<Permutation<C::Rank>>;
}
Expand description

Trait defining an action on a permutable collection that can be converted into an equivalent permutation acting on that collection.

Required Methods§

source

fn act_permute(&self, rhs: &C) -> Option<Permutation<C::Rank>>

Determines the permutation of rhs considered as a collection induced by the action of self on rhs considered as an element in its domain. If no such permutation could be found, None is returned.

Implementors§