文件名称:C语言 矩阵相乘 矩阵转置
文件大小:4KB
文件格式:CPP
更新时间:2017-06-16 03:39:54
C语言 矩阵相乘 矩阵转置
C语言 矩阵相乘 矩阵转置 //求转置矩阵 void Transpose2(double a[][MAXSIZE], double b[][MAXSIZE], int row, int col); void Transpose1to2(double a[MAXSIZE], double b[][MAXSIZE]); //显示矩阵 void displayMatrix(double a[][MAXSIZE], int row, int col, char b[]); //显示向量 void displayMatrix(double a[MAXSIZE], int col, char b[]); //高斯消元法 求逆矩阵 bool Gauss(double A[][MAXSIZE], double B[][MAXSIZE], int n); //矩阵乘以矩阵 void Matrix_Mult(double A[][MAXSIZE], double B[][MAXSIZE], double C[][MAXSIZE], int row1, int col1, int row2, int col2); //矩阵乘以向量 void MatrixV_Mult(double A[][MAXSIZE], double B[MAXSIZE], double C[MAXSIZE], int row1, int col1, int row2);