This repository contains the following Macaulay2 files: findLinearOrderings.m2, isLinear.m2, and getQuotients.m2. Collectively, these files consist of 3 methods for working with ideals of polynomial rings. The usage and behavior of each method are detailed below.
Use this method to test if the given order of a list of generators yields linear quotients.
ordering: a list of generators inQ = QQ[x_1 .. x_n]n: the dimension ofQ, the ideal's polynomial ring
true: iforderingis a linear quotients orderingfalse: otherwise
Use this method to return the quotients of a given list of ideal generators.
ordering: a list of generators inQ = QQ[x_1 .. x_n]
{quots}: a list of the linear quotients
This method is used to find the "most linear" ordering of an ideal's generators; if an ordering exists that yields all linear quotients, it will be returned. Otherwise, an ordering will be returned that has the most linear quotients.
edgeIdeal: an edge ideal inQ = QQ[x_1 .. x_n]n: the dimension ofQ, the ideal's polynomial ring
{order}: a list of the most linear ordering of the given ideal