(다른교재)exam-7-3-7-Final-이승진

1844 days ago by matrix

A=matrix(4,4,[2, 14, -4, 6, 0, 0, 0, 0, 1, 7, -2, 3, -4, -28, 8, -12]) u=matrix(4,1,[2,0,1,-4]) v_T=matrix(1,4,[1,7,-2,3]) print A print print u*v_T 
       
[  2  14  -4   6]
[  0   0   0   0]
[  1   7  -2   3]
[ -4 -28   8 -12]

[  2  14  -4   6]
[  0   0   0   0]
[  1   7  -2   3]
[ -4 -28   8 -12]
[  2  14  -4   6]
[  0   0   0   0]
[  1   7  -2   3]
[ -4 -28   8 -12]

[  2  14  -4   6]
[  0   0   0   0]
[  1   7  -2   3]
[ -4 -28   8 -12]