Determinants

Determinants in Sage work exactly how you would expect:
M = matrix([[1,2,3],[4,5,6],[3,2,1]])
M.determinant()

(If you’re surprised you got 0, check the RREF: M is, indeed, singular.)

There are two shortcuts for the determinant, giving exactly the same thing:
M.det()
det(M)

Go wild.

This entry was posted in Uncategorized. Bookmark the permalink. Both comments and trackbacks are currently closed.
Skip to toolbar