detΒΆ

det computes the determinant of a square matrix.

rsDet = det(m)

Return Value

rsDet is the determinant of the matrix m.

Parameters

m

m is a real or complex square matrix.

Example

* a = [1, 2; 3, 4]
* a
    1.0000     2.0000
    3.0000     4.0000
* det(a)
   -2.0000

id-1405384