Combinatorica Package >

Inversions

Inversions[p]
counts the number of inversions in permutation p.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team