12.2.12 Inverse of a cycle
The inverse of a cycle will be another cycle.
The
cycleinv
command computes the inverse of a cycle.
cycleinv
takes
c
, a cycle.
cycleinv(
c
)
returns the cycle that is the inverse of
c
.
Example
cycleinv
([2,0,1])
⎡
⎣
1,0,2
⎤
⎦