Macaulay2 » Documentation
Packages » KoszulFiltrations » sortIdealList
next | previous | forward | backward | up | index | toc

sortIdealList -- Sorts a list of ideals according to the number of generators

Description

The function takes a list of ideals and sorts them based on their number of generators. The function formats the list of ideals so that one can input it in the function partialKoszulFiltration.

i1 : R=QQ[a,b,c,d,e,f];
i2 : L={ideal(0),ideal(a),ideal(b),ideal(a,b,c),ideal(a+b,d),ideal(e,f)};
i3 : sortIdealList(L)

o3 = {{ideal ()}, {ideal a, ideal b}, {ideal (d, a + b), ideal (f, e)},
     ------------------------------------------------------------------------
     {ideal (c, b, a)}}

o3 : List

See also

Ways to use sortIdealList:

  • sortIdealList(List)

For the programmer

The object sortIdealList is a method function.


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