#4302: [with patch, needs work] 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):
Replying to [comment:18 malb]:
> Or, this should be equivalent:
>
> {{{
> [EMAIL PROTECTED]:~/SAGE/devel/sage$ hg import ntl_decl_refactor.patch
> [EMAIL PROTECTED]:~/SAGE/devel/sage$ hg import polynomial_gf2x.patch
> [EMAIL PROTECTED]:~/SAGE/devel/sage$ sage -b
> }}}
this is basically what I had done before (but from within sage, and with
sage -b inbetween).
Nevertheless, I did exactly that with 3.1.4:
{{{
achille% pwd
/usr/local/sage-3.1.4/sage/devel/sage-main
achille% hg import /tmp/ntl_decl_refactor.patch
applying /tmp/ntl_decl_refactor.patch
patching file sage/rings/polynomial/polynomial_modn_dense_ntl.pyx
Hunk #4 succeeded at 1277 with fuzz 2 (offset 0 lines).
achille% hg import /tmp/polynomial_gf2x.patch
applying /tmp/polynomial_gf2x.patch
achille% sage -b
...
real 33m24.231s
user 32m25.750s
sys 0m37.831s
achille% sage
----------------------------------------------------------------------
| 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))
sage: f=x^7+x+1
sage: f.modular_composition()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/users/cacao/zimmerma/.sage/temp/achille.loria.fr/11076/_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'
}}}
Is it possible that the problem happens because I am not in the original
build directory,
but in the directory where I did "make install"? However I have
successfully applied several
patches in this way before.
What else can I do to identify the problem on my side?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4302#comment:19>
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
-~----------~----~----~----~------~----~------~--~---