Question: Converting polynomial coefficients into a single column matrix

Hello! And thanks for looking and helping!

I've been working on programming an algorithm that requires that I find the polynomials A, B
such that Af + Bg=Res(f, g, x) [the resultant] where f and g are given. In all my searching I couldn't find something that would spit out A and B for me. No luck that route so...

I will have to use a Sylvester matrix representation of f and g's coefficients which Maple will do for me, but I need to write Res(f, g, x) as a single column matrix based on the coefficients of that polynomial. GenerateMatrix requires equations with solutions to peel off the coefficients but includes the whole system.

Anyone know of anything that would convert a polynomial's coefficients into a single column matrix?

 

Thanks again!
 

Please Wait...