Questions tagged [macaulay2]

Macaulay2 is a software system devoted to supporting research in algebraic geometry and commutative algebra.

65 questions
0
votes
1 answer

Monomial order in Macaulay2

When I define the ring to work on in Macaulay2, I would like to change the order of the variables for building the Grobner basis of ideals with respect to this new order. For instance, if set R = QQ [x_1..x_5], then how may I define the…
Hola
  • 151
0
votes
1 answer

Create list with a for loop on Macaulay2

I'm trying to write a function on Macaulay2 such that, given a square polynomial matrix in input, put out a list $\{(1,p_1(x)), \ldots , (r,p_r(x))\}$ where $r$is the rank of the matrix and $p_i(x)$ is the gcd of all the minors $i\times i$. I tried…
V.Galgano
  • 155