generators x -- produces the generators of x.
For an abbreviation, use gens.
Produces the generators of a Groebner basis, a polynomial ring, a monoid ring, a free module, a free group, a submodule given by means of generators (or for which generators have been computed), or a free monoid.
Usually the result is a list of generators, but the generators of a module or Groebner basis are provided as the columns in a matrix. The matrix is stored in a module M under M.generators, unless the matrix is the identity matrix.
See also:
Ways to use generators :