cmatsym.h

来自「face recognition test source code」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef MATRXSYM_H
#define MATRXSYM_H

#include "CVect.h"
#include "CMat.h"

class CMatrixSym : public CMatrix
	{
	private:
	public:
		CMatrixSym();
		CMatrixSym(long l);
		~CMatrixSym();
		virtual long GetCol();
		virtual long GetLi();
		
		int Eigen(CMatrix *Q, CVect *ev);	/* Puts in Q the eigenvectors and in ev the eigenvalues of the matrix*/
		int Put(CMatrix *Q);				/* Puts all the elements of this matrix into the pointer to a CMatrix object*/
	private:
		virtual void Allocate();			/*Allocate (or reallocate) the memory*/
											/*needed by pData; Call the CMemory's Allocate fct*/
	public:
	virtual valtype GetAt(long l, long c);
	virtual void SetAt(long l, long c, valtype value);
	};

#endif /*MATRXSYM_H*/

⌨️ 快捷键说明

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