5627: HW3

LU Decompostion

Write and test your own LU decompostion code without pivoting.  Make sure you explain the output format of your code.

Make sure your code dies approriately if it encounters a near zero pivot.

Make a log-log plot of the timing for your code with an aproppriate reference line.

Linear Solver

Combine your LU decomposition and Lower Triangular solve into a function “LUSolver[A,b]” that returns the solution of A x =b for a general matrix A.

Test this code appropriately.

Make a log-log plot of the timing for your code with an aproppriate reference line and the timing for a built-in solver on the same graph.