[top][index]
search for:

Monoid _ ZZ -- get a generator of a monoid

Synopsis:

  • Operator: _
  • Input:
  • an instance of class Monoid.
  • an instance of class ZZ.
  • Output:
  • an instance of class MonoidElement.
  • M_i -- produces the i-th generator of a monoid M.

    See also:

  • Monoid -- the class of all monoids
  • _
  • Code:

         -- ../../../Macaulay2/m2/ofcm.m2:54
         Monoid _ ZZ := MonoidElement => (M,i) -> M.generators#i

    [top][index]
    search for: