X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=wilcox.h;fp=wilcox.h;h=dc96ef757473113ea35ad234678e9caaeeac9572;hb=875ab4b2eec77b920e9fa0042f9a2aae2faff2b0;hp=0000000000000000000000000000000000000000;hpb=03fae12080951ea1d889da5187386abc236cc334;p=mothur.git diff --git a/wilcox.h b/wilcox.h new file mode 100644 index 0000000..dc96ef7 --- /dev/null +++ b/wilcox.h @@ -0,0 +1,30 @@ +// +// wilcox.h +// Mothur +// +// Created by SarahsWork on 8/6/13. +// Copyright (c) 2013 Schloss Lab. All rights reserved. +// + +#ifndef Mothur_wilcox_h +#define Mothur_wilcox_h + +#include "mothurout.h" + +class PWilcox { + public: + PWilcox() { mout = MothurOut::getInstance();} + ~PWilcox() { } + + double pwilcox(double q, double m, double n, bool lower_tail); + + private: + + MothurOut* mout; + int allocated_m, allocated_n; + double gammln(const double xx); + double choose(double n, double k); + double cwilcox(int k, int m, int n, double*** w); +}; + +#endif