|
SOLUTIONS
|
COMBINATORICA PACKAGE SYMBOL
RankPermutation
RankPermutation[p]
gives the rank of permutation p in lexicographic order.
DetailsDetails
- To use
, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
