Macaulay2 » Documentation
Packages » SCMAlgebras :: getPrimaryData
next | previous | forward | backward | up | index | toc

getPrimaryData -- creates the PrimaryDataList of the ideal $I$.

Description

Let $S=K[x_1,\ldots,x_n]$ be the polynomial ring. Given a homogeneous ideal $I$, getPrimaryData(I) returns a special list, containing all pairs $\{Q,\dim Q\}$ where $Q$ is a primary component of $I$.

i1 : S=QQ[x,y,z];
i2 : I=monomialIdeal(x*z,y*z);

o2 : MonomialIdeal of S
i3 : getPrimaryData(I)

o3 = {{monomialIdeal z, 2}, {monomialIdeal (x, y), 1}}

o3 : PrimaryDataList

Ways to use getPrimaryData:

  • getPrimaryData(Ideal)

For the programmer

The object getPrimaryData is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/SCMAlgebras.m2:564:0.