Previous Up Next

6.9.12 Inverse of a cycle: cycleinv

The inverse of a cycle will be another cycle.

The cycleinv command computes the inverse of a cycle.


Example.
Input:

cycleinv([2,0,1])

Output:

⎡
⎣
1,0,2⎤
⎦

Previous Up Next