⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matrix.h

📁 该程序包实现了几个常用的模式识别分类器算法
💻 H
字号:
#ifndef _MATRIX_H
#define _MATRIX_H 1

class CMatrix2
{
	void Householder( float**, int, float** );
	int reflection( float*, int, int, float* );
	void updateMat( float**, float*, int, int );

	int QLdecomp( float**, int, int, float** );
	float shiftQL( float**, int, int, float** );

public:
	float** allocMat( int );
	void freeMat( float**, int );
	void identiMat( float**, int );	// set identity matrix

	// Elementary matrix and vector compuations
	void outProduct( float*, float*, int, float** );		// outer product
	float innProduct( float*, float*, int );		// inner product

	void matXvec( float**, float*, int, float* );	// multiplication
	void matXmat( float**, float**, int, float** );
	void matXmat( float**, float**, int );

	void transpose( float**, int, float** );

	// Diagonalization (K-L transform)
	void diagonalize( float**, int, float** );
	float KLT( float**, int, float*, float* );

	// Check the orthonormality and characteristic equation
	float characteristic( float**, int, float*, float*, int );

	CMatrix2();
	~CMatrix2();
};

#endif

⌨️ 快捷键说明

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