矩阵乘法:似乎非得2() fA=a)and B(b)are squarenxmatrices,then in the product C=AB,we define the entry cij,for ij=1.2....by SQUARE-MATRIX-MULTIPLY(A,B) 1 n A.rows 2 let C be a new n x n matrix ci=∑akbj 3 for i lton 4 for j=Iton k三1 5 c4=0 6 for k 1to n 7 C时=C十aik·b财 return C矩阵乘法:似乎非得(n 3 )