Combinatorica`
Combinatorica`
PermutationQ
PermutationQ[p]
yields True if is a list representing a permutation and False otherwise.
更多信息和选项
- To use PermutationQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
PermutationQ[p]
yields True if is a list representing a permutation and False otherwise.