#4701: [with patch; needs works] magma/sage interface -- coercion for single
variable polynomials broken in some cases
------------------------+---------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: interfaces | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Changes (by ncalexan):
* summary: [with patch; needs review] magma/sage interface -- coercion
for single variable polynomials broken in some
cases => [with patch; needs works] magma/sage
interface -- coercion for single variable
polynomials broken in some cases
Comment:
There are problems. My referee patch includes a few failing doctests.
{{{
sage: R = GF(3^5, 'a') # optional - magma
sage: a = magma(R.gen()) # optional - magma
sage: a^3 # optional - magma
a^3
sage: a^3 + a # optional - magma
a^47
sage: a.sage()
a
sage: a.sage().parent()
Finite Field in a of size 3^5
sage: a.Eltseq()
[ 0, 1, 0, 0, 0 ]
sage: a.Sage()
GF(243, 'a'.replace('$.', 'x').replace('.', ''),
modulus=GF(3)['a'.replace('$.', 'x').replace('.', '')]([ 1, 2, 0, 0, 0, 1
]))(GF(3)['a'.replace('$.', 'x').replace('.', '')]([ 0, 1 ]))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4701#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---