ApplyLU (FUN)ΒΆ
FUNCTION ApplyLU : ResultCode
Applies an LU decomposition of a system of linear equations LU*X = B,
solving for X.
The matrix LU
together with the column permutation padiPCol
is
assumed to be the result of DecomposeLU.
- InOut:
Scope
Name
Type
Comment
Return
ApplyLU
Inout
X
The result matrix, must be a n x p matrix
Inout Const
LU
The LU matrix, output of DecomposeLU
B
The right-hand side of the equation, must be a n x p matrix
Input
padiPCol
POINTER TO ARRAY [0..0] OF DINT
The permutation of the columns, pointer to an array of at least n elements.
padZ
POINTER TO ARRAY [0..0] OF LREAL
Pointer to an array with at least n elements