[sage-support] M.right_eigenvectors() brings old error
Hello It happens on sagenb.org 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) -- 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.
[sage-support] Re: M.right_eigenvectors() brings old error
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 sage: 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) -- 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.
[sage-support] Re: M.right_eigenvectors() brings old error
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) -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.
[sage-support] Re: M.right_eigenvectors() brings old error
leif wrote: 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) On line 5520 of src/sage/matrix/matrix2.pyx that is. -leif 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.
[sage-support] Re: M.right_eigenvectors() brings old error
On Friday, May 2, 2014 8:38:16 AM UTC-7, leif wrote: return self.transpose().eigenvectors_left(extend) def eigenvectors_right(self, extend=True): So 'extend' is defined where the call happens... Stylistically it seems to be a keyword argument, so wouldn't return self.transpose().eigenvectors_left(extend=extend) be clearer and more future-proof (in case someone adds a keyword normalized=True as well, and puts it in front of extend)? -- 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.
[sage-support] Re: M.right_eigenvectors() brings old error
Nils Bruin wrote: On Friday, May 2, 2014 8:38:16 AM UTC-7, leif wrote: return self.transpose().eigenvectors_left(extend) def eigenvectors_right(self, extend=True): So 'extend' is defined where the call happens... Stylistically it seems to be a keyword argument, so wouldn't return self.transpose().eigenvectors_left(extend=extend) be clearer and more future-proof (in case someone adds a keyword normalized=True as well, and puts it in front of extend)? ? eigenvectors_left() takes no keyword arguments That's the error this thread is about. So you'd have to change eigenvectors_left() if you want it to take keyword arguments. -leif -- () 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.