Combinatorica Package >

RankPermutation

RankPermutation[p]
gives the rank of permutation p in lexicographic order.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team