synopsis: INT next_perm_invers(OP p,pn)


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


LAST_PERMUTATION if there is no next one.

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 -