Thank you, but the issue is solved using different command

On Tue, Jul 28, 2020 at 2:27 PM Vincent Delecroix <20100.delecr...@gmail.com>
wrote:

> One solution is to map the expression into
> polynomial expressions with variable 'a' and
> 'r' over the floating point numbers
>
> sage: a,r = SR.var('a,r');
> sage: expr = ((sqrt(2)*a-2*r)/(2+2*sqrt(2)))
> sage: RDF['a,r'](expr)
> 0.2928932188134525*a - 0.4142135623730951*r
>
> (this is not very robust as it would fail for something
> like cos(sqrt(2) + r))
>
> Vincent
>
> Le 28/07/2020 à 11:24, Bert Henry a écrit :
> >
> >
> > Am Dienstag, 28. Juli 2020 11:13:49 UTC+2 schrieb JJS137:
> >>
> >> Have you tried canonicalize_radical() ?
> >> Cheers,
> >> John
> >>
> >>
> > Yes, but it doesn't solve the problem
> >
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/30d1f609-279f-4e76-8115-7959f381e536%40gmail.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_phUcedQF%2BVMmcX0tBPFsmWh7fqPO36uByLvh%3DusTbKRg%40mail.gmail.com.

Reply via email to