pycauset.determinant
Returns the determinant of a square matrix.
Parameters
- a (matrix): A square matrix.
Returns
A scalar: the determinant.
Notes
Structural shortcuts apply when the matrix carries a properties assertion:
is_zeroreturns0.is_identityreturns1.is_diagonalwith a knowndiagonal_valuereturnsdiagonal_value ** n.
Otherwise the native determinant() method is used, falling back to NumPy (numpy.linalg.det).