]> git.donarmstrong.com Git - mothur.git/blob - randomnumber.h
changed random forest output filename
[mothur.git] / randomnumber.h
1 #ifndef RANDOMNUMBER
2 #define RANDOMNUMBER
3
4 /*
5  *  randomnumber.h
6  *  
7  *
8  *  Created by Pat Schloss on 7/6/11.
9  *  Copyright 2011 Patrick D. Schloss. All rights reserved.
10  *
11  */
12
13
14 /**************************************************************************************************/
15
16 #include "mothur.h"
17
18 /**************************************************************************************************/
19
20 class RandomNumberGenerator {
21         
22 public:
23         RandomNumberGenerator();
24     float randomUniform();
25         float randomExp();
26         float randomNorm();
27         float randomGamma(float);
28         vector<float> randomDirichlet(vector<float> alphas);
29         
30 };
31
32 /**************************************************************************************************/
33
34 #endif