#11248: SVD matrix decomposition may return a non-invertible "unitary" matrix
------------------------------+---------------------------------------------
   Reporter:  rbeezer         |          Owner:  jason, was
       Type:  defect          |         Status:  new       
   Priority:  major           |      Milestone:  sage-4.7  
  Component:  linear algebra  |       Keywords:            
Work_issues:                  |       Upstream:  N/A       
   Reviewer:                  |         Author:            
     Merged:                  |   Dependencies:            
------------------------------+---------------------------------------------

Comment(by slabbe):

 > If you want to try the Sage (long) one-line command above and see how
 prevalent this is, that would also be very helpful.

 I just ran the one-liner thousands of time and always get True:

 {{{
 sage: for _ in range(1000):
     A = (random_matrix(ZZ, 4, 8) + I*random_matrix(ZZ, 4, 8)); B =
 A.change_ring(CDF); U,S,V = B.SVD();
     if not (U.is_unitary() and V.is_unitary()):
         print A
 ....:
 sage:
 }}}

 I also tried dimensions 8 by 16. Do you want me to test something else?

 Sébastien

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11248#comment:6>
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 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.

Reply via email to