You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so clearly the matrix P has non zero determinant, as it should, however...
sage: P.inverse()
---------------------------------------------------------------------------
<type 'exceptions.ZeroDivisionError'> Traceback (most recent call last)
/media/hda2/pablo.new_home/sage/sage-2.10.2/<ipython console> in <module>()
/media/hda2/pablo.new_home/sage/sage-2.10.2/matrix2.pyx in sage.matrix.matrix2.Matrix.inverse (sage/matrix/matrix2.c:19571)()
/media/hda2/pablo.new_home/sage/sage-2.10.2/matrix0.pyx in sage.matrix.matrix0.Matrix.__invert__ (sage/matrix/matrix0.c:12213)()
<type 'exceptions.ZeroDivisionError'>: self is not invertible
The most strange thing is that things depends strongly on the precision used for the
complex field...the same computation using 20 bits of precision gives
sage: A=Matrix(ComplexField(20),[[1,-2],[2,-1]])
sage: jordan=B.jordan_form(transformation=True,subdivide=False)
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'> Traceback (most recent call last)
/media/hda2/pablo.new_home/sage/sage-2.10.2/<ipython console> in <module>()
/media/hda2/pablo.new_home/sage/sage-2.10.2/matrix2.pyx in sage.matrix.matrix2.Matrix.jordan_form (sage/matrix/matrix2.c:20606)()
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'is_exact'
I was doing the following, when testing the jordan_form method...
(P is now the transformation matrix, jordan[1] is the jordan canonical
form)
so clearly the matrix P has non zero determinant, as it should, however...
The most strange thing is that things depends strongly on the precision used for the
complex field...the same computation using 20 bits of precision gives
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/3249
The text was updated successfully, but these errors were encountered: