Repetition Terms
- Last UpdatedDec 03, 2025
- 1 minute read
A repetition term is used to define several numerical values in a concise way.
<rep_term>::= <start>[-<step>]-<end> |
<start>([<step>])<end>
<start>::=<step>::=<end>::=<number>
If the step is left out, then Planar Hull Modelling will set step = sign (end-start). If start = end, then step = 1.
Repetition terms may be used in all clauses where numbers otherwise are allowed, (and mixed with numbers).
|
Example: |
|---|
|
10-15 = 10, 11, 12, 13, 14, 15 |
|
6-2-14 = 6(2)14 = 6, 8, 10, 12, 14 |
|
1.5(0.3)2.1 = 1.5, 1.8, 2.1 |
Remark:
It is not necessary that:
end = start + N * step (N is an integer)
for example, 5(5)16 = 5, 10, 15