#3498: [with patch, needs work] make numpy the backend for matrices over CDF and
RDF
----------------------------+-----------------------------------------------
Reporter: jason | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.3
Component: linear algebra | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by malb):
* summary: [with patch, needs review] make numpy the backend for
matrices over CDF and RDF => [with patch, needs
work] make numpy the backend for matrices over
CDF and RDF
Comment:
'''Review'''
* patch applies cleanly
* I skimmed the code and it looks fine, I didn't thoroughly read it
though
* Is there any chance that we can get rid of the toplevel numpy imports
(they were removed just recently and I wonder whether we can get away
without them for startup time reasons)
* doctests (64-bit Linux)
{{{
File "/home/malb/sage-3.1.3.alpha1/tmp/matrix_double_dense.py", line 854:
sage: U*U.transpose()
Expected:
[ 1.0 2.13506512817e-16]
[2.13506512817e-16 1.0]
Got:
[ 1.0 2.66876364757e-16]
[2.66876364757e-16 1.0]
**********************************************************************
File "/home/malb/sage-3.1.3.alpha1/tmp/matrix_double_dense.py", line 859:
sage: V*V.transpose()
Expected:
[ 1.0 2.02230810223e-16 -2.11947972194e-16]
[ 2.02230810223e-16 1.0 7.09339271349e-17]
[-2.11947972194e-16 7.09339271349e-17 1.0]
Got:
[ 1.0 5.94955942151e-17 -1.77117977403e-16]
[ 5.94955942151e-17 1.0 -8.87690528723e-17]
[-1.77117977403e-16 -8.87690528723e-17 1.0]
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3498#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
-~----------~----~----~----~------~----~------~--~---