The code below will multiply two matrices together. <sagecell> A = matrix(3,2,[1,2,3,4,5,6]) B = matrix(2,4,[1,2,0,-3,-1,5,-2,1])

A*B #Multiply A and B together

table([ ["$A$",A], ["$B$",B], ["$A\cdot B$",A*B], ])</sagecell>