| 1 | initial version |
One'd need to employ CRT here - for example:
R.<x> = PolynomialRing(QQ)
print( crt([2*x-5,-5*x-9],[x^2-4,x^2+x+3]) )
gives x^3 + x^2 - 2*x - 9.
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.