InvertLU (FUN)ΒΆ
FUNCTION InvertLU : ResultCode
Inverts a quadratic regular matrix A: B := A^(-1).
The matrix A is modified in-place and contains the LU-decomposition after
the call.
We use an LU-decomposition that is computed using gaussian elimination.
See DecomposeLU.
Note: A and B must be matrices with distinct storage.
- InOut:
Scope
Name
Type
Comment
Return
InvertLUInout
AThe matrix to invert, must be a regular n x n matrix
BThe inverted matrix is stored here. B must have the same dimensions as A
Input
padiPColPOINTER TO DINT
The permutation of the columns, pointer to an array of at least n elements.