文件名称:matrix
介绍说明--下载内容来自于网络,使用问题请自行百度
//--显示矩阵,形参m为行,n为列
void MatrixDisplay(double *A,int m,int n)
//--求矩阵转置,形参m为行,n为列,A转置后存为B
void MatrixInverse(double *A,double *B, int m,int n)
//--求矩阵相乘,A矩阵为[m,p],B矩阵为[p,n],C为[m,n]
void MatrixMultiply(double *A,double *B,double *C ,int m,int p,int n)
//--求矩阵行列式
double MatrixDet(double *A,int m)
//--求矩阵逆,求A的逆矩阵C
void MatrixInv(double *A,double *C, int m)
//--求矩阵相加,A矩阵为[m,n],B矩阵为[m,n],C为[m,n]
void Maxtrix_add(double *A, double *B, double *C, int m, int n)
//--求矩阵相减,A矩阵为[m,n],B矩阵为[m,n],C为[m,n]
void Maxtrix_sub(double *A, double *B, double *C, int m, int n)
-/ /- 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)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹/matrix.cpp
新建文件夹/matrix.h
新建文件夹
新建文件夹/matrix.h
新建文件夹
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.