Macaulay2 » Documentation
Packages » Quasidegrees :: removeRedundancy
next | previous | forward | backward | up | index | toc

removeRedundancy -- removes redundancies from a list of planes

Description

The method takes a list of pairs that indexes planes and removes redundancies in the list. By a redundancy, we mean when one plane in the list is contained in another plane.

i1 : R = QQ[x,y,z]

o1 = R

o1 : PolynomialRing
i2 : I = ideal(x*y,y*z)

o2 = ideal (x*y, y*z)

o2 : Ideal of R
i3 : Q = quasidegrees(R^1/I)

o3 = {{0, {| 1 |, | 1 |}}, {0, {| 1 |}}}

o3 : List

The two pairs in Q each correspond to the complex plane so there is a redundancy.

i4 : removeRedundancy Q

o4 = {{0, {| 1 |}}}

o4 : List

Ways to use removeRedundancy:

  • removeRedundancy(List)

For the programmer

The object removeRedundancy is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Quasidegrees.m2:847:0.