Routine Name: ComputeLU
Author: David Merkley
Language: Python
Description/Purpose: Computes the solution of a matrix with the LU factorization
Input:
Required:
LU - LU matrix
b - solution vector
Output: Solution to LUx = b
Implementation/Code:
def computeLU(LU, b):
x = forwardSub(LU, b, True)
return backSub(LU, x)