#10837: Matrix and vector norms, condition number, over RDF/CDF
-------------------------------------+--------------------------------------
 Reporter:  rbeezer                  |         Owner:  jason, was  
     Type:  enhancement              |        Status:  new         
 Priority:  minor                    |     Milestone:  sage-4.7    
Component:  linear algebra           |    Resolution:              
 Keywords:  matrix, condition, norm  |        Author:  Rob Beezer  
 Upstream:  N/A                      |      Reviewer:  Simon Spicer
   Merged:                           |   Work_issues:              
-------------------------------------+--------------------------------------

Comment(by jdemeyer):

 On cleo (RHEL 5.3-64):
 {{{
 sage -t -long  -force_lib devel/sage/sage/modules/vector_double_dense.pyx
 Warning: divide by zero encountered in power
 **********************************************************************
 File
 "/home/buildbot/build/sage/cleo-1/cleo_full/build/sage-4.7.alpha4/devel
 /sage-main/sage/modules/vector_double_dense.pyx", line 626:
     sage: v.norm(p=-oo)
 Expected:
     0.0
 Got:
     -0.0
 **********************************************************************
 }}}
 {{{
 sage -t -long  -force_lib devel/sage/sage/matrix/matrix_double_dense.pyx
 **********************************************************************
 File
 "/home/buildbot/build/sage/cleo-1/cleo_full/build/sage-4.7.alpha4/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 646:
     sage: A.condition()
 Expected:
     1.63346888329e+13
 Got:
     1.63344849368e+13
 **********************************************************************
 File
 "/home/buildbot/build/sage/cleo-1/cleo_full/build/sage-4.7.alpha4/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 791:
     sage: A.norm(p=-2)
 Expected:
     3.84592537...e-16
 Got:
     1.64639435859e-16
 **********************************************************************
 File
 "/home/buildbot/build/sage/cleo-1/cleo_full/build/sage-4.7.alpha4/devel
 /sage-main/sage/matrix/matrix_double_dense.pyx", line 1862:
     sage: T.round(4)
 Expected:
     [-13.5698      0.0      0.0      0.0]
     [     0.0  -0.8508     -0.0     -0.0]
     [     0.0      0.0   7.7664      0.0]
     [     0.0      0.0      0.0  11.6542]
 Got:
     [-13.5698     -0.0      0.0      0.0]
     [     0.0  -0.8508      0.0     -0.0]
     [     0.0      0.0   7.7664     -0.0]
     [     0.0      0.0      0.0  11.6542]
 **********************************************************************
 }}}

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