Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
Title: CMatrix Download
 Description: Introduction === === This 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
 Downloaders recently: [More information of uploader feiyun0915]
 To Search:
File list (Check if you may need any files):
CMatrix
.......\cmatrix
.......\cmatrix.pro
.......\cmatrix.pro.user
.......\example
.......\example.o
.......\.......\example.cpp
.......\.......\Makefile
.......\Makefile
.......\Matrix.cpp
.......\Matrix.h
.......\Matrix.o
.......\README
    

CodeBus www.codebus.net