| 1 | initial version |
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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.