How to compute such resultant?
I need to compute such resultant:
Where
- polynomials over Z.
How can i do this in sage?
I need to compute such resultant:
Where
- polynomials over Z.
How can i do this in sage?
Setup:
R.<x> = PolynomialRing(ZZ)
A1 = R.random_element(degree=2)
C0 = R.random_element(degree=2)
C1 = R.random_element(degree=2)
S.<y> = PolynomialRing(R)
Execution:
sage: A1(y).resultant(C0 + y*C1)
x^4 - 6*x^3 + 5*x^2 - 4*x + 2
Thanks, I tried to set a polynomials over another fields, especially C1, and face with data type problem, would it be correct to use change_ring to bring everything into the same form?
Asked: 2 years ago
Seen: 514 times
Last updated: Sep 26 '22