Macaulay2 » Documentation
Packages » SymbolicPowers :: squarefreeGens
next | previous | forward | backward | up | index | toc

squarefreeGens -- returns all square-free monomials in a minimal generating set of the given ideal.

Synopsis

Description

Given a monomial ideal $I$, returns all square-free monomials in a minimal generating set of $I$.

i1 : R = QQ[x,y,z];
i2 : I = ideal(x*y,y*z,x^2);

o2 : Ideal of R
i3 : squarefreeGens(I)

o3 = {y*z, x*y}

o3 : List

See also

Ways to use squarefreeGens :

For the programmer

The object squarefreeGens is a method function.