正在加载图片...
矩阵乘法:似乎非得2(m) If A =(a and B=(b)are square nxnmatrices,then in the product C=A.B,we define the entry cij,for i.j=1.2.....n,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 1to n k=1 4 for j=1to n 5 C=0 6 for k Iton 7 C=C十ak·b对 8 return C矩阵乘法:似乎非得(n 3 )
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有