AnalysisLibErrType Determinant (void *inputMatrix, int matrixSize, double *determinant);
Finds the determinant of an n-by-n 2D input matrix.
The result is a scalar value. If the matrix is singular, the determinant is undefined.
Input | ||
Name | Type | Description |
inputMatrix | numeric array | Square matrix whose determinant is computed. This matrix must be an array of ComplexNum. |
matrixSize | integer | Number of rows and columns in the input matrix. |
Output | ||
Name | Type | Description |
determinant | double-precision | Determinant of the input matrix. |
Name | Type | Description |
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |