Thanks, I hadn't realised there was a separate mul method.

On Saturday, July 22, 2017 at 7:56:29 AM UTC+2, Ralf Stephan wrote:
>
> You don't write what u is in the first place so I cannot give a specific 
> answer. However, holding division is possible using the mul method, by 
> doing a mul with the inverse:
> sage: x/(2*x)
> 1/2
> sage: x.mul(1/(2*x), hold=True)
> x*(1/2/x)
> sage: _.unhold()
> 1/2
>
> Regards,
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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