

Cyclic
Details

- A Cyclic specification may use none, some or all of the xi elements, depending upon the number of available positions. If the number of positions is not a multiple of n, then remaining positions toward the end will be filled with x1, x2, etc.
- Cyclic[{x1,…,xn}][0] returns xn, Cyclic[{x1,…,xn}][-1] returns xn-1, and so forth. In general, Cyclic[{x1,…,xn}][k] returns xMod[k,n,1] for any integer k. »
Examples
open all close allBasic Examples (4)
Scope (4)
History
Text
Wolfram Research (2025), Cyclic, Wolfram Language function, https://reference.wolfram.com/language/ref/Cyclic.html.
CMS
Wolfram Language. 2025. "Cyclic." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Cyclic.html.
APA
Wolfram Language. (2025). Cyclic. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Cyclic.html
BibTeX
@misc{reference.wolfram_2025_cyclic, author="Wolfram Research", title="{Cyclic}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/Cyclic.html}", note=[Accessed: 04-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_cyclic, organization={Wolfram Research}, title={Cyclic}, year={2025}, url={https://reference.wolfram.com/language/ref/Cyclic.html}, note=[Accessed: 04-August-2025]}