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
stochMath.cpp File Reference
#include "stochMath.h"

Go to the source code of this file.

Namespaces

namespace  StochHMM
 traceback_path.h

Functions

void StochHMM::generateUnknownIndices (std::vector< size_t > &results, size_t alphabetSize, size_t order, size_t value)
double StochHMM::interpolate (std::pair< double, double > &a, std::pair< double, double > &b, double &cx)
 Interpolates the y value given cx and two surrounding points on either side a and b.
double StochHMM::extrapolate (std::pair< double, double > &a, std::pair< double, double > &b, double &cx)
 Extrapolates the Y value of point given by cx and two previous points.
float StochHMM::entropy (std::vector< float > &set)
 Shannon's Entropy in log(2) space.
double StochHMM::entropy (std::vector< double > &set)
float StochHMM::rel_entropy (std::vector< float > &set, std::vector< float > &set2)
double StochHMM::rel_entropy (std::vector< double > &set, std::vector< double > &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.000001, 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)
double StochHMM::summation (double(*funct)(int, std::vector< double >), int lower, int upper, std::vector< double > param)
double StochHMM::igamma_upper (double s, double x)
double StochHMM::igamma_lower (double a, double x)
 http://wwwC/.rskey.org/CMS/index.php/the-library/11
double StochHMM::rgammap (double s, double x)
double StochHMM::rgammaq (double s, double x)
double StochHMM::beta (double a, double b)
double StochHMM::ibeta (double x, double a, double b)
float StochHMM::betaPDF (float x, float a, float b)
double StochHMM::ribeta (double x, double a, double b)
double StochHMM::factorial (double x)
double StochHMM::bin_coef (double n, double r)
float StochHMM::bin_coef (int n, int k)