Repeat
Input: Repeat(x, n)
$$\underbrace{x, \ldots, x}_{n \text{ times}}$$Repeating sequence. This is a syntactical construct which does not represent a mathematical object on its own. It can be interjected among the arguments to a function or operator.
Input: Repeat(1, 2, 3, n)
$$\underbrace{1, 2, 3, \ldots, 1, 2, 3}_{\left(1, 2, 3\right) \; n \text{ times}}$$A repeated run of several elements.
$$\left[\underbrace{a, \ldots, a}_{n \text{ times}}\right]$$
A repeated element in a list.
$$\left(\underbrace{1, \ldots, 1}_{N \text{ times}}, 0, \underbrace{1, 2, 3, \ldots, 1, 2, 3}_{\left(1, 2, 3\right) \; M \text{ times}}, 1, 2\right)$$
Repeated elements among other elements in a tuple.
Input: f(0, 0, Repeat(1, n), 2)
$$f\!\left(0, 0, \underbrace{1, \ldots, 1}_{n \text{ times}}, 2\right)$$A repeated argument in a function call.
Last updated: 2020-03-06 00:22:16