´

bruhat_comp_perm

synopsis: INT bruhat_comp_perm( OP a,b)

description:

compares according to the Bruhat order. returns the constant INT NONCOMPARABLE if the two PERMUTATION objects a and b are not comparable. it return 0 if equal 1 if a>b and -1 if a PERMUTATION objects of kind VECTOR. It works if the PERMUTATION objects are of different length.

example:

 computes the matrix of comparision (c) and countes
 the number of permutations which are samller.

 scan(INTEGER,a);
 fakul(a,b);
 m_lh_m(b,b,c);
 m_l_nv(b,e);
 makevectorofperm(a,d);
 for (i=0;i


Send comments or suggestions to:
symmetrica (at) symmetrica.de

this page was automatically generated on So Jan 4 10:35:55 CET 2009 on the machine btn6xf

University of Bayreuth -