functiondet
Determinant of a matrix (computed by LU decomposition)
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
Matrices.det(A);
Description
This function call returns the determinant of matrix A computed by a LU decomposition. Usually, this function should never be used, because there are nearly always better numerical algorithms as by computing the determinant. E.g., use function Matrices.rank to compute the rank of a matrix.
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,size(A, 1)] | A |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | result | Determinant of matrix A |