Ch-2-Prob-4-New-허재석

1893 days ago by matrix

A=matrix(4, 4, [1, -4, 2, 8, 0, 1, -5, 7, 0, 0, 1, 3, 0, 0, 0, 1]) B=matrix(3, 4, [6, 1, 8, -1, 7, 2, 7, 4, 0, 1, 0, -3]) print A.rref() print B.rref() 
       
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[    1     0     0  33/7]
[    0     1     0    -3]
[    0     0     1 -23/7]
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[    1     0     0  33/7]
[    0     1     0    -3]
[    0     0     1 -23/7]