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
this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa