matrix.h

来自「大规模定制中评价系统源码!对其中配置后的产品进行优化,寻优!」· C头文件 代码 · 共 24 行

H
24
字号
#pragma once

template <typename T>
class CMatrix
{
private:
	T *m_pNum;
	int m_nDim;
	int m_nSize;

public:
	CMatrix<T>(int nDim = 0, int m_nSize = 0);
	void Init();
	CMatrix<T>(const CMatrix &otherMat);
	const CMatrix<T> & operator = (const CMatrix &otherMat);
	CMatrix<T> operator +(const CMatrix &otherMat);
	CMatrix<T> operator -(const CMatrix &otherMat);
	CMatrix<T> operator *(const CMatrix &otherMat);


public:
	~CMatrix(void);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?