Skip to content

det

builtin · libnexusinterp/corefcn/det-proprietary.cc

: d = det (A)
: [d, rcond] = det (A)

Return the determinant of the square matrix A.

The determinant is formed from an LU factorization with partial pivoting. Exactly singular matrices give 0; the determinant of an empty matrix is 1. Single precision input gives a single precision result. The optional second output is the reciprocal condition number estimate of A.