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.

Post a Comment

Your email address is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Skip to toolbar