#4206: [with patch, needs work] convert RDF and CDF vectors to use numpy
----------------------------+-----------------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.2.1
Component: linear algebra | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by jason):
Okay, I updated all the docstrings; all tests pass.
My one concern is that in sage/rings/polynomial/real_roots.pyx, I tried to
use the new cython buffer interface, but at compile-time, I got a maximum
recursion depth exceeded error in the find_buffer_type function (I think
that was the name). Right now, real_roots uses the slow standard python
__getitem__ method.
Either the Cython buffer issue should be fixed or we should make the
real_roots access the vector in a faster way (preferably using the numpy C
API or exposing that with, say, a get_unsafe_python function in the
vector_double_dense file).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4206#comment:13>
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
-~----------~----~----~----~------~----~------~--~---