StochHMM  v0.34
Flexible Hidden Markov Model C++ Library and Application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
statistics.cpp File Reference
#include "statistics.h"

Go to the source code of this file.

Namespaces

namespace  StochHMM
 traceback_path.h

Functions

template<class T >
StochHMM::min (std::vector< T > &set)
template<class T >
StochHMM::max (std::vector< T > &set)
template<class T >
StochHMM::construct_histogram (std::vector< T > &set, int N_bins)
template<class T >
StochHMM::smooth_histogram (std::vector< T > histo, int intervals, int window_size, int iterations)
float StochHMM::entropy (std::vector< float > &set)
 Shannon's Entropy in log(2) space.
float StochHMM::rel_entropy (std::vector< float > &set, std::vector< float > &set2)
double StochHMM::_integrate (double(*funct)(double, std::vector< double >), double upper, double lower, std::vector< double > param)
double StochHMM::integrate (double(*funct)(double, std::vector< double >), double lower, double upper, std::vector< double > param, double max_error=0.001, double sum=0)
double StochHMM::simpson (double(*funct)(double, double, double), double alpha, double beta, double lower, double upper)
double StochHMM::adapt_simpson (double(*funct)(double, double, double), double alpha, double beta, double lower, double upper, double max_error, double sum)
float StochHMM::discrete_uniform_cdf (int a, int b, int position)
float StochHMM::bin_coef (int n, int k)
float StochHMM::binomial_pdf (int k, int n, float p)
float StochHMM::binomial_pdf (int k, std::vector< float > param)
float StochHMM::binomial_cdf (int k, int n, float p)
double StochHMM::hypergeometric_cdf (int n, int N, int m, int k)
double StochHMM::gamma_func (double x)
double StochHMM::gamma_pdf (double x, double alpha, double beta)
double StochHMM::gamma_pdf (double x, std::vector< double > param)
double StochHMM::gamma_cdf (double x, double alpha, double beta)
double StochHMM::chi2_pdf (double x, double df)
double StochHMM::chi2_cdf (double x, double df)
double StochHMM::beta_pdf (double x, double a, double b)
double StochHMM::beta_pdf (double x, std::vector< double > param)
double StochHMM::beta_cdf (double x, double alpha, double beta)
double StochHMM::expon_pdf (double x, double beta)
double StochHMM::expon_cdf (double x, double beta)
double StochHMM::normal_pdf (double x, double mu, double sigma)
float StochHMM::summation (float(*funct)(int, std::vector< float >), int lower, int upper, std::vector< float > param)
double StochHMM::multinomial_pdf (std::vector< int > r, int n, std::vector< double > p)
double StochHMM::_low_igamma (double x, std::vector< double > param)
double StochHMM::low_igamma (double x, double alpha)
double StochHMM::upper_igamma (double x, double alpha)
double StochHMM::erf (double x)
double StochHMM::std_normal_cdf (double x)