Returns determinant of the square matrix mat. The direct method is used for small matrices and Gaussian elimination is used for larger matrices. For symmetric positive-determined matrices it is also possible to run SVD with U=V=NULL and then calculate determinant as a product of the diagonal elements of W

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static double cvDet(
	IntPtr mat
)
Public Shared Function cvDet ( _
	mat As IntPtr _
) As Double
public:
static double cvDet(
	IntPtr mat
)

Parameters

mat
IntPtr
The pointer to the matrix

Return Value

determinant of the square matrix mat

See Also