Command Reference : Function Reference : Function Reference: D
  
 
@det
Determinant of matrix.
Syntax: @det(m)
m: matrix, sym
Return: number
Calculate the determinant of the square matrix or sym, m.
The determinant is nonzero for a nonsingular matrix and 0 for a singular matrix.
Examples
matrix m1 = @mnrnd(4, 4)
scalar sc1 = @det(m1)
computes the determinant of the matrix M1.
sym s1 = @inner(m1)
= @det(s1)
returns the determinant of the symmetric matrix S1.
Cross-references
See also @eigenvalues, @rank, and @trace.