type/disjcyc
check permutation in disjoint cycle notation
Calling Sequence
Parameters
Description
Examples
type(ex, 'disjcyc'(deg))
ex
-
the expression to check
deg
the intended degree of the permutation
The function returns true or false, depending on whether ex is a valid permutation of degree deg in disjoint cycle notation.
type1,2,3,4,5,disjcyc6
false
type1,2,4,3,9,6,disjcyc7
type1,2,4,3,5,6,disjcyc7
true
See Also
group[permgroup]
Download Help Document