[top][index]
search for:

Set + Set -- union

Synopsis:

  • Operator: + -- a binary operator
  • Input:
  • an instance of class Set.
  • an instance of class Set.
  • Output:
  • an instance of class Set.
  • Next more general method: Tally + Tally -- union of tallies

  • s + t -- union of two sets

    Code:

         -- ../../../Macaulay2/m2/set.m2:43
         Set + Set := Set => (x,y) -> merge(x,y,(i,j)->i)

    [top][index]
    search for: