pub fn cycle_at<V: ValueAlgebra>(
states: &V,
repeated: &V,
n: &V,
) -> Result<V, String>Expand description
The state at step n of a run recorded as states (the state before each step) up to the step
whose state, repeated, had been seen before: the run is eventually periodic from the first
occurrence of repeated.