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
ApplyLUInout
XThe result matrix, must be a n x p matrix
Inout Const
LUThe LU matrix, output of DecomposeLU
BThe right-hand side of the equation, must be a n x p matrix
Input
padiPColPOINTER TO ARRAY [0..0] OF DINT
The permutation of the columns, pointer to an array of at least n elements.
padZPOINTER TO ARRAY [0..0] OF LREAL
Pointer to an array with at least n elements