(New book) Ch-3-New-황성빈

1906 days ago by matrix

A=matrix(3, 3, [1, 3, 4, 5, 3, 6, 8, 9, 1]) B=matrix(3, 4, [-1, -5, 4, 5, 10, 9, 7, 6, 5, 6, -7, 4]) print "AB=" print A*B 
       
AB=
[49 46 -3 39]
[55 38 -1 67]
[87 47 88 98]
AB=
[49 46 -3 39]
[55 38 -1 67]
[87 47 88 98]