#2256: [with patch, needs review] matrix inverse over CC raises
ZeroDivisionError
----------------------------+-----------------------------------------------
Reporter: ncalexan | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.2
Component: linear algebra | Keywords: matrix inverse CC complex
Reviewer: | Author:
Merged: |
----------------------------+-----------------------------------------------
Comment(by jason):
The LU decomposition patch at #3048 may go a long ways towards helping
this. At least the determinant then is much, much better. Or even
better, just examine the U of the LU decomposition and decide if a
diagonal entry is zero (which avoids the overhead of a product).
The LU decomposition patch (#3048) also changes the inverse function to
use sove_right (which uses LU decomposition) as in general, that should be
faster anyway.
The real way to do this is to have a rank function which works by looking
at the smallest singular value. That requires having a singular value
decomposition...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2256#comment:4>
Sage <http://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 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
-~----------~----~----~----~------~----~------~--~---