文件名称:CMatrix
介绍说明--下载内容均来自于网络,请自行研究使用
对称矩阵相关元算,主成分分析(PCA), fisher
discriminant analysis(FDA).,-Introduction
============
This is a class for symmetric matrix related computations. It can be used for
symmetric matrix diagonalization and inversion. If given the covariance matrix,
users can utilize the class for principal component analysis(PCA) and fisher
discriminant analysis(FDA). It can also be used for some elementary matrix and
vector computations.
Usage
=====
It s a C++ program for symmetric matrix diagonalization, inversion and principal
component anlaysis(PCA).
To use it, you need to define an instance of CMatrix class, initialize matrix,
call the public funtions, and finally, free the matrix. For example, for PCA,
CMarix theMat // define CMatrix instance
float** C // define n*n matrix
C = theMat.allocMat( n )
Calculate the matrix (e.g., covariance matrix from data)
float*phi,*lambda // eigenvectors and eigenvalues
int vecNum // number of eigenvectors (<=n)
phi = new float [n*vecNum]
lambda = new float [vecNum]
the
discriminant analysis(FDA).,-Introduction
============
This is a class for symmetric matrix related computations. It can be used for
symmetric matrix diagonalization and inversion. If given the covariance matrix,
users can utilize the class for principal component analysis(PCA) and fisher
discriminant analysis(FDA). It can also be used for some elementary matrix and
vector computations.
Usage
=====
It s a C++ program for symmetric matrix diagonalization, inversion and principal
component anlaysis(PCA).
To use it, you need to define an instance of CMatrix class, initialize matrix,
call the public funtions, and finally, free the matrix. For example, for PCA,
CMarix theMat // define CMatrix instance
float** C // define n*n matrix
C = theMat.allocMat( n )
Calculate the matrix (e.g., covariance matrix from data)
float*phi,*lambda // eigenvectors and eigenvalues
int vecNum // number of eigenvectors (<=n)
phi = new float [n*vecNum]
lambda = new float [vecNum]
the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CMatrix
.......\cmatrix
.......\cmatrix.pro
.......\cmatrix.pro.user
.......\example
.......\example.o
.......\.......\example.cpp
.......\.......\Makefile
.......\Makefile
.......\Matrix.cpp
.......\Matrix.h
.......\Matrix.o
.......\README
.......\cmatrix
.......\cmatrix.pro
.......\cmatrix.pro.user
.......\example
.......\example.o
.......\.......\example.cpp
.......\.......\Makefile
.......\Makefile
.......\Matrix.cpp
.......\Matrix.h
.......\Matrix.o
.......\README