DeterminantLU (FUN)ΒΆ
FUNCTION DeterminantLU : ResultCode
Computes the determinant of a quadratic matrix.
The matrix A is modified in-place and contains the LU-decomposition after
the call. (If A is not singular.)
We use an LU-decomposition that is computed using gaussian elimination.
See DecomposeLU.
- InOut:
- Scope - Name - Type - Comment - Return - DeterminantLU- Inout - A- The matrix to solve, must be quadratic matrix - Input - padiPCol- POINTER TO ARRAY [0..0] OF DINT - The permutation of the columns, pointer to an array of at least A.nRows elements. - Output - dDeterminant- LREAL- The computed determinant