´

lehmercode_bar

synopsis: INT lehmercode_bar(OP a,b)

description:

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.

example:

 given the barred permutation
 3 -5 2 -1 4
 the result of lehmercode_bar is
 [[1,0,0,0,1][3,0,1,0,0]]


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 -