> > As for you for now, you'd need to change the eigenvectors() command in
> > the matrix code.  If you wanted to do so and submit a patch, it would be
> > greatly appreciated!
>

But all doctests pass for me in alpha1:

./sage -t "devel/sage/sage/matrix/"
All tests passed!
Total time for all tests: 177.1 seconds


>
> maxima-5.19.1 can be found in Sage sage-4.1.2.alpha1, but being an
> alpha, it is likely to be less stable than a 'stable' release of Sage.
> Note Sage 4.1.2 will be the first Sage to have a recent update of
> Maxima. The previous version, 4.1.1, does not.

That's #6699 where the change went in.  Note that the patch there
fixes similar eigenvector problems in doc/en/constructions/
linear_algebra.rst and doc/en/tutorial/interfaces.rst, and, for that
matter, sage/interfaces/maxima.py

But actually, the problem is already in 4.1.1, with the previous
Maxima:

----------------------------------------------------------------------
| Sage Version 4.1.1, Release Date: 2009-08-14                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: A = matrix(SR, [[1,2,3],[4,5,6],[7,8,9]])
sage: A.eigenvectors_right()
UserWarning: Using generic algorithm for an inexact ring, which may
result in garbage from numerical precision issues.
  # -*- coding: utf-8 -*-
 UserWarning: Using generic algorithm for an inexact ring, which will
probably give incorrect results due to numerical precision issues.
  # -*- coding: utf-8 -*-
TypeError: degree() takes exactly one argument (0 given)
sage: maxima_console()
Maxima 5.16.3 http://maxima.sourceforge.net

For some reason SR eigenvectors were never actually tested, I think -
because they inherit directly from matrix2.pyx!  In fact, the error
comes from eigenspaces_left in that file, where G = self.fcp() calls
degree of a symbolic expression, which now requires an argument ! The
symbolic upgrade strikes again...  I'll try to have a patch for this
soon.

- kcrisman
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to