]> git.donarmstrong.com Git - mothur.git/blob - wilcox.h
changes while testing
[mothur.git] / wilcox.h
1 //
2 //  wilcox.h
3 //  Mothur
4 //
5 //  Created by SarahsWork on 8/6/13.
6 //  Copyright (c) 2013 Schloss Lab. All rights reserved.
7 //
8
9 #ifndef Mothur_wilcox_h
10 #define Mothur_wilcox_h
11
12 #include "mothurout.h"
13
14 class PWilcox {
15     public:
16     PWilcox() { mout = MothurOut::getInstance();}
17     ~PWilcox() { }
18     
19     double pwilcox(double q, double m, double n, bool lower_tail);
20     
21     private:
22     
23     MothurOut* mout;
24     int allocated_m, allocated_n;
25     double gammln(const double xx);
26     double choose(double n, double k);
27     double cwilcox(int k, int m, int n, double*** w);
28 };
29
30 #endif