Macaulay2 » Documentation
Packages » MatchingFields » getTuples(TopeField)
next | previous | forward | backward | up | index | toc

# getTuples(TopeField) -- tuples of a tope field

- Function: getTuples
- Usage:
    `tuples = getTuples TF`
- Inputs:
  - TF, an instance of the type TopeField,
- Outputs:
  - tuples, a list, list of tuples of the matching field of the tope field

## Description

Lists the tuples of the matching field of the tope field.

    i1 : L = diagonalMatchingField(3, 6);

    i2 : T = topeField L

    o2 = Tope field: n = 6 and type = {1, 1, 1}

    o2 : TopeField

    i3 : getTuples T

    o3 = {{1, 2, 3}, {1, 2, 4}, {1, 3, 4}, {2, 3, 4}, {1, 2, 5}, {1, 3, 5}, {2,
         ------------------------------------------------------------------------
         3, 5}, {1, 4, 5}, {2, 4, 5}, {3, 4, 5}, {1, 2, 6}, {1, 3, 6}, {2, 3, 6},
         ------------------------------------------------------------------------
         {1, 4, 6}, {2, 4, 6}, {3, 4, 6}, {1, 5, 6}, {2, 5, 6}, {3, 5, 6}, {4, 5,
         ------------------------------------------------------------------------
         6}}

    o3 : List

## See also

- TopeField -- A tope field structure on a matching field

### Menu

## Ways to use this method:

- getTuples(TopeField) -- tuples of a tope field

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/MatchingFields.m2:3265:0.