Description: / /- Display matrix, the parameter m for the line, n is the column void MatrixDisplay (double* A, int m, int n) //- transpose a matrix, the row parameter m, n for the column, A transposed after the save B void MatrixInverse (double* A, double* B, int m, int n) //- Matrix multiplication, A matrix [m, p], B matrix [p, n] , C is [m, n] void MatrixMultiply (double* A, double* B, double* C, int m, int p, int n) //- Matrix determinant double MatrixDet (double* A, int m ) //- For the matrix inverse, find the inverse matrix of A, C void MatrixInv (double* A, double* C, int m) //- add a matrix, A matrix [m, n], B matrix [m, n], C is [m, n] void Maxtrix_add (double* A, double* B, double* C, int m, int n) //- Matrix subtraction, A matrix is [ m, n], B matrix [m, n], C is [m, n] void Maxtrix_sub (double* A, double* B, double* C, int m, int n)
To Search:
File list (Check if you may need any files):
新建文件夹\matrix.cpp
..........\matrix.h
新建文件夹