#4302: [with patch, needs review] improve modular composition in GF(2)[x]
------------------------------+---------------------------------------------
Reporter: zimmerma | Owner: somebody
Type: task | Status: new
Priority: major | Milestone: sage-3.2
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by zimmerma):
I did start from vanilla 3.1.3 again, applied the patches in the right
order, but still get the
same error:
{{{
----------------------------------------------------------------------
| SAGE Version 3.1.4, Release Date: 2008-10-16 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: P.<x> = PolynomialRing(GF(2), x)
sage: f = x^7 + x + 1
sage: f.modular_composition()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/users/cacao/zimmerma/.sage/temp/achille.loria.fr/16284/_users_cacao_zimmerma__sage_init_sage_0.py
in <module>()
----> 1
2
3
4
5
AttributeError: 'sage.rings.polynomial.polynomial_modn_dense_ntl.Po'
object has no attribute 'modular_composition'
}}}
In particular I don't see a "modular_composition" method for
polynomial_modn_dense_ntl,
but only for Polynomial_GF2X, and polynomial_modn_dense_ntl, does not seem
to inherit from
Polynomial_GF2X:
{{{
sage: type(f)
<type
'sage.rings.polynomial.polynomial_modn_dense_ntl.Polynomial_dense_mod_p'>
}}}
How can I define an object of type Polynomial_GF2X? Can someone reproduce
Martin's results?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4302#comment:10>
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
-~----------~----~----~----~------~----~------~--~---