Node:Cyclic, Next:, Previous:Files, Up:Sequences



Cyclic infinite sequences

A cyclic sequence is an infinite sequences whose values repeat in a cyclic manner.

F cyclic C Function
Both F and C are finite sequences. The result is an infinite sequence starting with the elements of F, followed by an infinite number of copies of C.

Q finite_part Function

Q cycle_part Function

Q finite_length Function
Return the length of the finite prefix of Q.

Q cycle_length Function
Return the length of the repeating prefix of Q. If Q is finite, return 0.