Homework-1 Lkhagva Buyantogtokh

1924 days ago by bigdata2016

A = matrix(7,7, [[1, 0, -1, 1, 3, 5, -1], [-1, 1, 2, 3, -2, 4, 2], [-2, 0, 0, 6, -2, 3, 0], [0, 1, -1, 6, 1, -1, 3], [3, -1, 0, 4, 1, -2, 1], [1, -1, 4, 3, 2, 4, 3], [-1, -1, 4, -6, -1, 1, 6]]) show(A) 
       
P, L, U = A.LU() show(P) show(L) show(U)