Resultant matrix

Computes the resultant matrix (Sylvester matrix) of two univariate polynomials.

resultant_matrix(Polynomial, Polynomial)

Given two univariate polynomials p and q, compute its resultant matrix.

resultant_matrix(Polynomial, Polynomial, Identifier | List)

Given two polynomials p and q and an identifier or list with the variables, compute its resultant matrix when collecting with respect to such variables.