In Mathematica, C# linq, or other languages, we can use auxiliary functions to produce list of certain pattern.
For example:
- In Mathematica, we can use
Table[]orRange[]to produce a list of numbers in the specified pattern. - In C#, we can also use
Rangeto produce a list of consecutive integers.
I need this kind of function also in PGF/Tikz to be consumed by \foreach.
Are there list building macros in PGF/Tikz?