The Determinant of a Matrix
Description
This Sage cell calculates the determinant of the matrix
(1)\begin{align} A = \begin{pmatrix} 1 & 2 & 3 \\ -4 & 0 & 2 \\ -3 & 3 & 1 \end{pmatrix}. \end{align}
Sage Cell
Code
A = matrix(QQ, [[1,2,3],[-4,0,2],[-3,3,1]])
A.determinant()
Options
None
Tags
CC:math.la.i.mat.det
Primary Tags: Linear Algebra: Determinants
Secondary Tags: Determinants: Computing determinants
Related Cells
- Matrices in Sage. Matrices in Sage.
Attribute
Author: T. Judson
Permalink:
Date: 19 Jun 2017 17:35
Submitted by: Tom Judson