Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » lists and sequences » BasicList » IndexedVariable » IndexedVariable .. IndexedVariable
next | previous | forward | backward | up | index | toc

# IndexedVariable .. IndexedVariable -- sequences of consecutive indexed variables

- Operator: ..
- Usage:
    `s .. t`
- Inputs:
  - s, an indexed variable
  - t, an indexed variable
- Outputs:
  - a sequence, the sequence of indexed variables with the same base and with consecutive subscripts, inclusive

## Description

    i1 : x_1

    o1 = x
          1

    o1 : IndexedVariable

    i2 : x_1 .. x_10

    o2 = (x , x , x , x , x , x , x , x , x , x  )
           1   2   3   4   5   6   7   8   9   10

    o2 : Sequence

    i3 : x_(a,1) .. x_(b,3)

    o3 = (x   , x   , x   , x   , x   , x   )
           a,1   a,2   a,3   b,1   b,2   b,3

    o3 : Sequence

## Ways to use this method:

- IndexedVariable .. IndexedVariable -- sequences of consecutive indexed variables

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/operators/dotdot.m2:113:0.