synopsis: INT lehmercode_bar(OP a,b)


computes the lehmercode of a barred permutation a. The result is a two-element VECTOR object, whose two entries are INTEGER - VECTOR objects, whose length are the length of the PERMUTATION object a. The first VECTOR is a 0-1 vector, the i-th entry is one if the element i+1 is negativ in the PERMUTATION object a. The second VECTOR is the ordinary Lehmercode of a permutation, but taken into account that we have negative entries.


 given the barred permutation
 3 -5 2 -1 4
 the result of lehmercode_bar is

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

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

University of Bayreuth -