next_perm_invers

synopsis: INT next_perm_invers(OP p,pn)

description:

computes the next permutation of given degree and given number of inversions. These values are fetched from the input the PERMUTATION object p of type VECTOR. The object pn will be the next permutation

return:

LAST_PERMUTATION if there is no next one.


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