正在加载图片...
矩阵乘法:似乎非得2(m) fA=(a)and B=(b)are square nx nmatrices,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 c=∑ak·be 2 let C be a new n x n matrix 3 for i 1 to n k三1 4 for j Iton 5 C)=0 6 for k 1ton 7 C时=Cj十ak·bk对 8 return C矩阵乘法:似乎非得(n 3 )
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有