ispermsdisjoint(sig​ma1,sigma2)

Identifies given permutations as disjoint

You are now following this Submission

ispermsdisjoint(sigma1,sigma2) compares two permutations of a same symmetric group and verifies whether they are disjoint.

Cite As

HARI BASKAR RANGANATHAN (2026). ispermsdisjoint(sigma1,sigma2) (https://www.mathworks.com/matlabcentral/fileexchange/52307-ispermsdisjoint-sigma1-sigma2), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.3.0

Previous version does not give the output when all the elements of the permutation are moved.
This version takes care of giving that output also.

1.0.2.1

Help contents are enhanced by adding an example.
Comment lines are also enhanced.

1.0.2.0

function renames as ispermsdisjoint
function returns '1' if the permutations are disjoint, otherwise returns '0' (string output is removed)
for loop is removed and replaced with 'any(x==sigma1 & x==sigma2)'

1.0.1.5

included a check for validity of the permutations sigma1, sigma2, small letter 'l' is replaced with capital letter 'L',

1.0.1.4

If statement is introduced to check the validity of the input arguments:

1.0.1.3

pre-allocating memory is taken care. Other suggestions received through comments were partially implemented.

1.0.1.2