On 10/27/12 1:04 AM, P Purkayastha wrote:


Until that gets in, I put in a patch at #13657 to the tutorial to at
least mention RDF/CDF as the ones to use for eigenvalue and eigenvector
computations. And possible other numerical computations. If you have
anything more to add, then please do so.

http://trac.sagemath.org/13657


Right now, when you do eigenvalues with RR, it prints a warning. Maybe you should add something to the actual code too.

sage: a=matrix(RR,3,range(9))
sage: a.eigenvalues()
/Users/grout/sage-trees/sage-5.4.rc1/local/bin/sage-ipython:1: UserWarning: Using generic algorithm for an inexact ring, which will probably give incorrect results due to numerical precision issues.
  #!/usr/bin/env python
[13.3484692283495, -0.000000000000000, -1.34846922834953]


Mentioning RDF/CDF in that warning might be helpful. You might also add a warning to Gaussian elimination, at least until we implement pivoting choices and default to a more numerically sane choice.

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to