📄 cmat.h
字号:
#ifndef CMAT_H
#define CMAT_H
class CMat
{
private:
float **Mat;
int RowDim;
int ColDim;
float **GaussElimd;// Gauss eliminated matrix of Mat
public:
/*******************************************/
//constructor and destructor
/*******************************************/
CMat(int rows,int cols);
~CMat();
/*******************************************/
//matrix calculations
/*******************************************/
// float Det();//return determinant of Mat
int Order();//return order of Mat
public:
void SwapRows(float **Matrix,int Row1,int Row2);
bool IsZeroVec(float *Vec,int VecDim);
float **GetMat() {return Mat;}//access to Mat
float **GetGaussElimd() {return GaussElimd;}//access to GaussElimd
void show(float **mat);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -