.. highlightlang:: us .. index:: det .. _det: det === .. us.tag det ENGLISH math-lin-alg :ref:`det` computes the determinant of a square matrix. .. function:: rsDet = det(m) .. us.return **Return Value** *rsDet* is the determinant of the matrix *m*. .. us.params **Parameters** .. uparam:: m *m* is a real or complex square matrix. .. us.example **Example** :: * a = [1, 2; 3, 4] * a 1.0000 2.0000 3.0000 4.0000 * det(a) -2.0000 .. seealso:: :ref:`overview-mathematic` :sub:`id-1405384`