This functionality seems to be intended somehow? At least, it is made reference to in the documentation: http://doc.sagemath.org/html/en/reference/matrices/sage/matrix/matrix2.html Look at the part after: "A matrix that is not diagonalizable over the rationals, as evidenced by its Jordan form."
-Saad On Thursday, November 7, 2019 at 4:38:13 AM UTC-5, Dima Pasechnik wrote: > > On Thu, Nov 7, 2019 at 9:15 AM Kwankyu <ekwa...@gmail.com <javascript:>> > wrote: > > > > Hi, > > > > This > > > > m = matrix(QQ, 3, [1, 1, 1, 0, 3, 3, -2, 1, 2]) > > m.is_diagonalizable() > > > > raises an error rather than giving False. The error message gives an > explanation why the matrix is > not diagonalizable. But I think the > expected result for asking diagonalizability should be either True or > False, for legitimate inputs. > > I agree. It seems that is_diagonalizable() is the only method among > is_*() for matrices > that has this strange behavior (I checked several of them, but not all). > > CC'ing to the original author... > > Dima > > > What do you think? > > > > > > > > > > -- > > 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-s...@googlegroups.com <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/4c3a3e63-14d7-4e49-aadb-480b6ff46a64%40googlegroups.com. > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/8efe0856-7376-447f-908e-6e9677d475ea%40googlegroups.com.