diff options
author | Peter Carbonetto | 2017-06-04 12:06:36 -0500 |
---|---|---|
committer | Peter Carbonetto | 2017-06-04 12:06:36 -0500 |
commit | c1132606169875be6d07b54b30e8ae9446341bc2 (patch) | |
tree | 13019a8101d2278ab1a928481979cca9c7ee6009 /src/prdt.h | |
parent | 079d7deb888936fe174746d1efd7cd7ed6a511dd (diff) | |
download | pangemma-c1132606169875be6d07b54b30e8ae9446341bc2.tar.gz |
Removed FORCE_FLOAT from prdt.h/prdt.cpp.
Diffstat (limited to 'src/prdt.h')
-rw-r--r-- | src/prdt.h | 23 |
1 files changed, 9 insertions, 14 deletions
@@ -1,6 +1,6 @@ /* - Genome-wide Efficient Mixed Model Association (GEMMA) - Copyright (C) 2011 Xiang Zhou + Genome-wide Efficient Mixed Model Association (GEMMA) + Copyright (C) 2011-2017, Xiang Zhou This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,31 +13,25 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __PRDT_H__ #define __PRDT_H__ - #include <vector> #include <map> #include <string.h> #include "gsl/gsl_vector.h" #include "gsl/gsl_matrix.h" - -#ifdef FORCE_FLOAT -#include "param_float.h" -#else #include "param.h" -#endif using namespace std; class PRDT { public: - // IO related parameters + // IO-related parameters. size_t a_mode; size_t d_pace; @@ -59,18 +53,19 @@ public: double time_eigen; - // Main functions + // Main functions. void CopyFromParam (PARAM &cPar); void CopyToParam (PARAM &cPar); void WriteFiles (gsl_vector *y_prdt); void WriteFiles (gsl_matrix *Y_full); - void AddBV (gsl_matrix *G, const gsl_vector *u_hat, gsl_vector *y_prdt); + void AddBV (gsl_matrix *G, const gsl_vector *u_hat, + gsl_vector *y_prdt); void AnalyzeBimbam (gsl_vector *y_prdt); void AnalyzePlink (gsl_vector *y_prdt); - void MvnormPrdt (const gsl_matrix *Y_hat, const gsl_matrix *H, gsl_matrix *Y_full); + void MvnormPrdt (const gsl_matrix *Y_hat, const gsl_matrix *H, + gsl_matrix *Y_full); }; - #endif |