#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 mabshoff):
Replying to [comment:6 was]:
> > Make the real_roots and timeseries files use the Cython buffer
interface
>
> If you do that to timeseries, please do not degrade performance at all.
The whole point of timeseries is "blazing speed" -- many of the functions
are easily 10-15 times faster than the same functions in matlab/numpy, and
part of this is because of using a simple data structure (double*).
If I understand this patch correctly the buffer interface in Cython to
numpy avoids copying data. Since the data are stored as double* there
should be a small increase in performance and the use of the buffer
interface does not imply that functionality gets moved from something else
to numpy.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4206#comment:7>
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
-~----------~----~----~----~------~----~------~--~---