Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563554 views
1
<Verb>CayleyMetric(g,h):: Permutation, Permutation --> Int</Verb><P/>
2
3
<P/> Inputs two permutations <M>g,h</M> and optionally the degree <M>N</M>
4
of a symmetric group containing them. It returns the minimum number of
5
transpositions needed to express <M>g*h^{-1}</M>
6
as a product of transpositions.
7
8
9
10