TRUE if two permutations are conjugate and
Objects of class permutation, coerced to cycle form
Two permutations are conjugate if and only if they have the same shape.
are_conjugate() is vectorized and user-friendly;
are_conjugate_single() is lower-level and operates
only on length-one permutations.
The reason that
are_conjugate_single() is a separate function
and not bundled inside
are_conjugate() is that dealing with the
identity permutation is a pain in the arse.
Returns a vector of Booleans
The functionality detects conjugateness by comparing the shapes of two
permutations; permutations are coerced to cycle form because function
Robin K. S. Hankin
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.