StochHMM
v0.34
Flexible Hidden Markov Model C++ Library and Application
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
distributions.h
Go to the documentation of this file.
1
/*
2
* statistics.h
3
*
4
* Created by Paul Lott on 4/22/09.
5
* Copyright 2009 University of California, Davis. All rights reserved.
6
*
7
*/
8
9
#ifndef DISTRIBUTIONS_H_
10
#define DISTRIBUTIONS_H_
11
12
#include <vector>
13
#include <math.h>
14
#include "
stochMath.h
"
15
#include <iostream>
16
17
18
namespace
StochHMM {
19
20
#define PI 3.145926535897932
21
22
23
///////////////////DISTRIBUTIONS////////////////////////
24
25
26
//Discrete & Finite
27
void
sBinomial
(std::vector<double>&,
int
,
double
);
28
void
cBinomial
(std::vector<double>&,
int
,
double
);
29
30
31
void
sBetaBinomial
(std::vector<double>&,
int
,
double
,
double
);
32
void
cBetaBinomial
(std::vector<double>&,
int
,
double
,
double
);
33
34
35
void
sDegenerate
(std::vector<double>&,
double
);
36
void
cDegenerate
(std::vector<double>&,
double
);
37
38
void
sUniform
(std::vector<double> &,
int
,
int
);
39
void
cUniform
(std::vector<double> &,
int
,
int
);
40
41
void
sHypergeometric
(std::vector<double>&,
int
,
int
,
int
);
42
void
cHypergeometric
(std::vector<double>&,
int
,
int
,
int
);
43
44
//void sPoissonBinomial (std::vector<double>&, int, double);
45
//void cPoissonBinomial (std::vector<double>&, int, double);
46
47
//Continuous
48
49
void
sCauchy
(std::vector<double>&,
double
,
double
);
50
51
52
void
sChiSquared
(std::vector<double>&,
double
);
53
double
cChiSquared
(
double
x,
double
df);
54
55
56
void
sExponential
(std::vector<double>&,
double
);
57
void
sExtremeValue
(std::vector<double>&,
double
,
double
,
double
);
58
void
sFDistribution
(std::vector<double>&,
double
,
double
);
59
void
sGamma
(std::vector<double>&,
double
,
double
);
60
void
sGeometric
(std::vector<double>&,
double
);
61
void
sLaplace
(std::vector<double>&,
double
,
double
);
62
void
sLogNormal
(std::vector<double>&,
double
,
double
);
63
void
sLogarithmic
(std::vector<double>&,
double
);
64
void
sLogistic
(std::vector<double>&,
double
,
double
);
65
void
sMaxwellBoltzman
(std::vector<double>&,
double
);
66
void
sNegativeBinomial
(std::vector<double>&,
int
,
double
);
67
void
sNonCentralF
(std::vector<double>&,
double
,
double
,
double
);
68
void
sNonCentralT
(std::vector<double>&,
double
,
double
);
69
void
sNormal
(std::vector<double>&,
double
,
double
);
70
void
sPareto
(std::vector<double>&,
double
,
double
);
71
void
sPoisson
(std::vector<double>&,
double
);
72
void
sRayleigh
(std::vector<double>&,
double
);
73
void
sTriangular
(std::vector<double>&,
int
,
int
,
int
);
74
void
sUser
(std::vector<double>&, std::vector<double>&);
75
void
sWeibull
(std::vector<double>&,
double
,
double
);
76
}
77
78
79
80
#endif
/*INC_FILENAME_H*/
Generated on Tue Jul 30 2013 13:23:11 for StochHMM by
1.8.1