An iet with integral lengths is completely periodic. It is then interesting to know
import surface_dynamics.interval_exchanges.integer_iet as ii
sage: %time ii.interval_exchange_statistics([0,1,2,3,4,5,6], [6,5,4,3,2,1,0], 50)
CPU times: user 25.1 s, sys: 17 ms, total: 25.1 s
Wall time: 25.2 s
{3: 5996550, 4: 332178, 2: 6934796, 1: 720292}
An iet with integral lengths is completely periodic. It is then interesting to know
It would be nice to be able to do this with
intervalxtand compare timings with the code insurface_dynamics.interval_exchanges.integer_iet. In the end we might get rid of this part ofsurface_dynamics.A typical run that run through all integral vectors with sum
50for the permutation0123456 / 6543210