#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:
-------------------------------------+--------------------------------------
Changes (by jdemeyer):
* status: closed => new
* resolution: fixed =>
* merged: sage-4.7.alpha4 =>
Comment:
On cicero (Fedora 14-32):
{{{
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/cicero-1/cicero_full/build/sage-4.7.alpha4/devel
/sage-main/sage/modules/vector_double_dense.pyx", line 628:
sage: v.norm(p=0)
Expected:
8
Got:
8.0
**********************************************************************
File
"/home/buildbot/build/sage/cicero-1/cicero_full/build/sage-4.7.alpha4/devel
/sage-main/sage/modules/vector_double_dense.pyx", line 640:
sage: w.norm(p=0)
Expected:
2
Got:
2.0
**********************************************************************
}}}
{{{
sage -t -long -force_lib devel/sage/sage/matrix/matrix_double_dense.pyx
**********************************************************************
File
"/home/buildbot/build/sage/cicero-1/cicero_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.63347342847e+13
**********************************************************************
File
"/home/buildbot/build/sage/cicero-1/cicero_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:
2.86378720384e-16
**********************************************************************
File
"/home/buildbot/build/sage/cicero-1/cicero_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:22>
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.