摘要: 在看到麻省理工学院的线性代数公开课的视频时,了解到有几种矩阵相乘的方法:#include <stdio.h>#include <stdlib.h>#include <math.h>#define M 2#define N 3#define P 4/* * A*B=C * (M,N) * (N,P) =(M,P) */float a[M][N] = {{5, 2, 4}, {6, 3, 9}};float b[N][P] = {{7, 8, 9, 10}, {1, 4,... 阅读全文
posted @ 2011-12-29 23:59 天行侠 阅读(12728) 评论(0) 推荐(0)