muEC::SG::Perm2Interval – computes all codes of permutations below a given one

The muEC::SG::Perm2Interval function computes the list of the Lehmer codes of all permutations that are smaller than perm, according to the Bruhat order.

→ Examples

Call:

muEC::SG::Perm2Interval(perm)

Parameters:

perm

any list denoting a permutation

Related Functions:

muEC::SG::CompPerm, muEC::SG::Perm2Betti

Example 1:

muEC::SG::Perm2Interval( [3,1,2] );

math

map( muEC::SG::Perm2Interval([3,2,1]), muEC::SG::Code2Perm );

math