#20889: truncated power for polynomials
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.3
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/20889 | f1c00ded6ac3e777a41db5b6b330f7b89ab4fc19
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by bruno):
I am mostly happy with this ticket, though I wonder whether code
duplication is really useful: Is it necessary to have the generic method
`_power_trunc`? My brief tests do not show significant speedup when using
this generic implementation instead of `power_trunc`. The speedup is
notable when one uses the ''specialized'' implementations (using Flint) of
course.
I would simply remove `_power_trunc` in
`src/sage/rings/polynomial/polynomial_element.pyx`, and add a test to know
whether `_power_trunc` exists. I guess you are much more experienced than
me in Cython, so I may be saying something stupid.
--
Ticket URL: <https://trac.sagemath.org/ticket/20889#comment:10>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.