00001 #ifndef FACTANAL_HEADER
00002 #define FACTANAL_HEADER
00003
00004
00005
00012
00013
00014
00015
00016 #include <stdlib.h>
00017 #include <math.h>
00018
00019 #ifdef _STANDARD_C_PLUS_PLUS
00020 #include <vector>
00021 using namespace std;
00022 #else
00023 #include <vector.h>
00024 #endif
00025
00026
00027
00028 #include "Symmat.hh"
00029 #include "Rectmat.hh"
00030
00031
00032
00033 namespace RazorBack {
00034
00042 unsigned int std_data(vector<double>& X, double& Mean, double& Sd);
00043
00051 double correl_data(const vector<double>& X, const vector<double>& Y);
00052
00061 int calc_loadings(const Symmat_<double>& Correl, Rectmat_<double>& Load,
00062 double Tol, double *Qual=NULL);
00063
00064 }
00065
00066
00067
00068 #endif // FACTANAL_HEADER