detReturn determinant of a matrix (computed by LU decomposition; try to avoid det(..)) |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
result = Matrices.det(A);
This function returns the determinant "result" of matrix A computed by a LU decomposition with row pivoting. For details about determinants, see http://en.wikipedia.org/wiki/Determinant. Usually, this function should never be used, because there are nearly always better numerical algorithms as by computing the determinant. Examples:
A |
Type: Real[:,size(A, 1)] |
---|
result |
Type: Real Description: Determinant of matrix A |
---|