Polynomial division on non usual ring.
Hello everyone, I hope you are well.
I'm trying to do the algorithm of division between polynomials in an unusual ring and I'm having problems. I searched in some forums and couldn't find anything on the subject.
The idea is to do the division in the following ring R
:
UCF = UniversalCyclotomicField()
R.<x,y> = PolynomialRing(UCF,2,'x','y', order='lex')
The idea is to get the coefficient between $f/g=q$, with $f$, $g \in R[x,y]$.
But overall the result of $f/g$ is just giving $f/g$, even in the case where $f=g$.
I try this method in Ask Sage question 50406 but Sage can't do the math.
Thank you for your attention.
Do you just want
q = f // g
? Note the double slashes.i dont know what the // double slashes do. Anyway, this return a error: KeyError: '_PolynomialRing_singular_repr__singular'
Please give us a concrete example.
for example, when i try to do:
and i need the output: 1.
Can you illustrate how "Sage can't do the math" ?