cdmat.h
来自「大规模定制中评价系统源码!对其中配置后的产品进行优化,寻优!」· C头文件 代码 · 共 34 行
H
34 行
#pragma once
class CdMat
{
public:
int m_nCol;
int m_nRow;
double *m_pdData;
public:
CdMat(int nRow = 0, int nCol = 0);
void Init();
void Display();
void SetCol(int nCol);
int GetCol() ;
void SetRow(int nRow);
int GetRow() ;
void SetData(int nRow, int nCol, double dData);
CdMat(const CdMat &mat);
CdMat operator =(const CdMat &otherMat);
CdMat operator + (const CdMat &mat);
CdMat operator - (const CdMat &mat);
CdMat operator * (const CdMat &mat);
CdMat operator + (double d);
CdMat operator - (double d);
CdMat operator * (double d);
CdMat operator / (double d);
double GetMax();
double GetMaxEigbyPow(CdMat &vMat);
double GetCI(CdMat &vMat);
public:
~CdMat(void);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?