On Tuesday, June 30, 2015 at 1:24:23 PM UTC+2, tdumont wrote:
>
> Why is xxc in Symbolic Ring and not in Algebraic Field? 
> mxx and xxc are essentialy the same thing, no ? 
>
> When you input sqrt(2) it is not clear which object you want,
Sage traditionally decides in favor of a symbolic. If you specifically
need the number field element you must say so with

sage: K.<sqrt2> = QuadraticField(2)
sage: sqrt2^5
4*sqrt2

That said, I think the sqrt function of Rational (which is called here)
could be enhanced with an option to return a number field element
for convenience.

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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to