#19268: MPComplexField should be a commutative ring and it is not!
-----------------------------------+------------------------
       Reporter:  hmonien          |        Owner:
           Type:  defect           |       Status:  new
       Priority:  major            |    Milestone:  sage-6.9
      Component:  categories       |   Resolution:
       Keywords:  MPCComplexField  |    Merged in:
        Authors:                   |    Reviewers:
Report Upstream:  N/A              |  Work issues:
         Branch:                   |       Commit:
   Dependencies:                   |     Stopgaps:
-----------------------------------+------------------------
Changes (by hmonien):

 * cc:
 
http://trac.sagemath.org/sage_trac/search?noquickjump=1&ticket=on&wiki=on&q=jdemeyer
 (removed)
 * cc: jdemeyer (added)


Old description:

> Even though
>
> {{{
> sage: MPC = MPComplexField(128)
> sage: MPC.is_commutative()
> True
> }}}
>
> MPC is not in commutative rings:
>
> {{{
> sage: MPC = MPComplexField(128)
>
> sage: P.<x> = PolynomialRing(ZZ, 'x')
> sage: p = x^3-5*x+1
>
> sage: p.change_ring(MPC)
> }}}
>
> gives  an error
>

> {{{
> TypeError: Base ring Complex Field with 128 bits of precision must be a
> commutative ring.
> }}}

New description:

 Even though

 {{{
 sage: MPC = MPComplexField(128)
 sage: MPC.is_commutative()
 True
 }}}

 MPC is not in commutative rings:

 {{{
 sage: MPC = MPComplexField(128)

 sage: P.<x> = PolynomialRing(ZZ, 'x')
 sage: p = x^3-5*x+1

 sage: p.change_ring(MPC)
 }}}

 gives  an error


 {{{
 TypeError: Base ring Complex Field with 128 bits of precision must be a
 commutative ring.
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/19268#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to