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.
type⁡1,2,3,4,5,disjcyc⁡6
false
type⁡1,2,4,3,9,6,disjcyc⁡7
type⁡1,2,4,3,5,6,disjcyc⁡7
true
See Also
group[permgroup]
Download Help Document