Dima Pasechnik wrote:
On 2014-05-02, leif <not.rea...@online.de> wrote:
Dima Pasechnik wrote:
On 2014-05-02, Michał Migacz <migacz.mic...@gmail.com> wrote:
Hello
It happens on sagenb.org
which runs Sage 5.11, for which
http://trac.sagemath.org/ticket/10346
is already closed.
Do you mean some other trac ticket?
Indeed, even on 6.2.rc1, one has this error:
sage: A = matrix(SR, [[1, 2], [2, 3]]); A
[1 2]
[2 3]
sage: A.right_eigenvectors()
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<ipython-input-2-8f79930a10fd> in <module>()
----> 1 A.right_eigenvectors()
/usr/local/src/sage/mav/sage/local/lib/python2.7/site-packages/sage/matrix/matrix2.so
in sage.matrix.matrix2.Matrix.eigenvectors_right
(sage/matrix/matrix2.c:31134)()
TypeError: eigenvectors_left() takes no keyword arguments
AFAICS we just have to replace it by
return self.transpose().eigenvectors_left(extend)
Really?
Yes.
sage: A.transpose().eigenvectors_left(extend)
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)
<ipython-input-11-89af426b967f> in <module>()
----> 1 A.transpose().eigenvectors_left(extend)
NameError: name 'extend' is not defined
sage:
def eigenvectors_right(self, extend=True):
So 'extend' is defined where the call happens...
-leif
While eigenvectors_right() works perfectly good, right_eigenvectors() says:
Traceback (most recent call last):
File "", line 1, in <module>
File "/tmp/tmpHySbp1/___code___.py", line 24, in <module>
exec compile(u'M.right_eigenvectors()
File "", line 1, in <module>
File "matrix2.pyx", line 5323, in
sage.matrix.matrix2.Matrix.eigenvectors_right (sage/matrix/matrix2.c:30449)
TypeError: eigenvectors_left() takes no keyword arguments
This is old error described here:
http://trac.sagemath.org/ticket/10346#comment:6
The code of function is:
return self.transpose().eigenvectors_left(extend=extend)
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.