2009/9/15 kcrisman <kcris...@gmail.com>:
>
>> > 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

  I get slightly different results, with two known (hopefully :-)
"minor" problems:
% sage -t "devel/sage/sage/matrix/"
...
sage -t  "devel/sage/sage/matrix/matrix_double_dense.pyx"
**********************************************************************
File "/usr/share/sage/devel/sage/sage/matrix/matrix_double_dense.pyx", line 996:
    sage: V
Expected:
    [-0.392540507864  0.824163383692  0.408248290464]
    [-0.560772154092  0.137360563949 -0.816496580928]
    [ -0.72900380032 -0.549442255795  0.408248290464]
Got:
    [-0.392540507864  0.824163383692 -0.408248290464]
    [-0.560772154092  0.137360563949  0.816496580928]
    [ -0.72900380032 -0.549442255795 -0.408248290464]
**********************************************************************
1 items had failures:
   1 of  27 in __main__.example_28
***Test Failed*** 1 failures.
...
sage -t  "devel/sage/sage/matrix/constructor.py"
**********************************************************************
File "/usr/share/sage/devel/sage/sage/matrix/constructor.py", line 155:
    sage: g = graphs.PetersenGraph()
Expected nothing
Got:
    doctest:16: DeprecationWarning: the sets module is deprecated
    doctest:18: DeprecationWarning:
    **********************************************************
    matplotlib.numerix and all its subpackages are deprecated.
    They will be removed soon.  Please use numpy instead.
    **********************************************************
    <BLANKLINE>
**********************************************************************
1 items had failures:
   1 of  94 in __main__.example_1
***Test Failed*** 1 failures.
...

>> 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

  Many Thanks!! I just made a local build with
http://trac.sagemath.org/sage_trac/attachment/ticket/6699/maxima_doctests.patch
applied, and now the maxima tutorial works correctly.

> 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

Paulo

--~--~---------~--~----~------------~-------~--~----~
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