On 18 October 2017 at 10:00, Dima Pasechnik <dimp...@gmail.com> wrote:
>
>
> On Wednesday, October 18, 2017 at 9:28:50 AM UTC+1, Robin van der veer
> wrote:
>>
>> Hello,
>>
>> If I have, say,
>>
>>  R = PolynomialRing(QQ, 'x', 5)
>>
>> And I have two polynomials, one of which divides the other. Then I can do
>> f/g
>> but the result will be an element of the fraction field of R, even though
>> it actually lives in R. I can write
>> (f/g).numerator()
>> to get back to R, but I feel that this shouldn't be necessary. Is there
>> some way to perform this division and stay in R?

f//g  will be in R.

>
>
> Please provide a concrete example showing this. Indeed, I think
> (f/g).numerator() will be in R.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to