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

Matrices.rank, Matrices.solve

Inputs

TypeNameDefaultDescription
Real[:,size(A, 1)]A

Outputs

TypeNameDefaultDescription
RealresultDeterminant of matrix A