#10795: Fix and upgrade double dense matrix QR decomposition
-------------------------------+--------------------------------------------
    Reporter:  rbeezer         |         Owner:  jason, was 
        Type:  defect          |        Status:  new        
    Priority:  minor           |     Milestone:  sage-4.7.2 
   Component:  linear algebra  |    Resolution:             
    Keywords:  beginner        |   Work_issues:             
    Upstream:  N/A             |      Reviewer:  Martin Raum
      Author:  Rob Beezer      |        Merged:             
Dependencies:                  |  
-------------------------------+--------------------------------------------
Changes (by jdemeyer):

  * status:  closed => new
  * resolution:  fixed =>
  * merged:  sage-4.7.2.alpha2 =>


Comment:

 On various systems, there are doctest failures:

 hawk (OpenSolaris 06/2009 i86pc Xeon W3580):
 {{{
 **********************************************************************
 File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-4.7.2.alpha2/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1766:
     sage: Q
 Expected:
     [ -0.359210604054   0.569326179705   0.368048420509   0.641385845805]
     [  0.179605302027  -0.144590775798   0.925041158846  -0.301884576418]
     [  0.179605302027  -0.704880032016  0.0774617736597   0.681825307224]
     [  0.898026510134   0.397624633445 -0.0532812182975   0.180566192161]
 Got:
     [-0.359210604054  0.569326179705  0.409076682956  0.616028985113]
     [ 0.179605302027 -0.144590775798 -0.683704756325   0.69237507842]
     [ 0.179605302027 -0.704880032016  0.575201135981  0.374205463771]
     [ 0.898026510134  0.397624633445  0.185331397251 0.0330954856071]
 **********************************************************************
 File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-4.7.2.alpha2/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1771:
     sage: R
 Expected:
     [    -5.56776436283       2.6940795304      -2.6940795304]
     [                 0     -3.56958477752      3.56958477752]
     [                 0                  0 -9.93013661299e-16]
     [                 0                  0                  0]
 Got:
     [   -5.56776436283      2.6940795304     -2.6940795304]
     [                0    -3.56958477752     3.56958477752]
     [                0                 0 -4.4408920985e-16]
     [                0                 0                 0]
 **********************************************************************
 }}}

 bsd (OS X 10.8.0 x86_64) 64-bit:
 {{{
 **********************************************************************
 File
 "/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-4.7.2.alpha2/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1766:
     sage: Q
 Expected:
     [ -0.359210604054   0.569326179705   0.368048420509   0.641385845805]
     [  0.179605302027  -0.144590775798   0.925041158846  -0.301884576418]
     [  0.179605302027  -0.704880032016  0.0774617736597   0.681825307224]
     [  0.898026510134   0.397624633445 -0.0532812182975   0.180566192161]
 Got:
     [ -0.359210604054   0.569326179705   0.146337376237   0.724859169325]
     [  0.179605302027  -0.144590775798   0.973035382602 0.00613084354877]
     [  0.179605302027  -0.704880032016  -0.142125402809   0.671331844787]
     [  0.898026510134   0.397624633445  -0.107647045464   0.154451130063]
 **********************************************************************
 File
 "/Users/buildbot/build/sage/bsd-1/bsd_64_full/build/sage-4.7.2.alpha2/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1771:
     sage: R
 Expected:
     [    -5.56776436283       2.6940795304      -2.6940795304]
     [                 0     -3.56958477752      3.56958477752]
     [                 0                  0 -9.93013661299e-16]
     [                 0                  0                  0]
 Got:
     [   -5.56776436283      2.6940795304     -2.6940795304]
     [                0    -3.56958477752     3.56958477752]
     [                0                 0 6.28036983474e-16]
     [                0                 0                 0]
 **********************************************************************
 }}}

 cleo (RHEL 5.3 ia64 Itanium 2):
 {{{
 **********************************************************************
 File
 "/home/buildbot/build/sage/cleo-1/cleo_full/build/sage-4.7.2.alpha2/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1766:
     sage: Q
 Expected:
     [ -0.359210604054   0.569326179705   0.368048420509   0.641385845805]
     [  0.179605302027  -0.144590775798   0.925041158846  -0.301884576418]
     [  0.179605302027  -0.704880032016  0.0774617736597   0.681825307224]
     [  0.898026510134   0.397624633445 -0.0532812182975   0.180566192161]
 Got:
     [ -0.359210604054   0.569326179705   0.146859067236   0.724753652911]
     [  0.179605302027  -0.144590775798   0.973039543327 0.00543048428303]
     [  0.179605302027  -0.704880032016  -0.141642164231   0.671433967908]
     [  0.898026510134   0.397624633445  -0.107535848925   0.154528570726]
 **********************************************************************
 File
 "/home/buildbot/build/sage/cleo-1/cleo_full/build/sage-4.7.2.alpha2/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1771:
     sage: R
 Expected:
     [    -5.56776436283       2.6940795304      -2.6940795304]
     [                 0     -3.56958477752      3.56958477752]
     [                 0                  0 -9.93013661299e-16]
     [                 0                  0                  0]
 Got:
     [   -5.56776436283      2.6940795304     -2.6940795304]
     [                0    -3.56958477752     3.56958477752]
     [                0                 0 9.81879219451e-16]
     [                0                 0                 0]
 **********************************************************************
 }}}

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