macaulayFormula(v,m)
Let $f_1,...,f_n$ be a polynomials two groups of variables $X_1,...,X_n$ and $a_1,...,a_s$ and such that $f_1,...,f_n$ are homogeneous polynomials with respect to the variables $X_1,...,X_n$. This function returns two matrices M1 and M2 such that $det(D_1)/det(D_2)$ is the Macaulay resultant of $f_1,...,f_n$ providing det(D_2) is nonzero.
Remark: if D2 is the empty matrix, its determinant has to be understood as 1 (and not zero, which is the case in Macaulay2 since the empty matrix is identified to the zero.







The object macaulayFormula is a method function.