Density.h File Reference

Collects a variety of constants and function in namespace Util. More...

#include <vector>

Include dependency graph for Density.h:

Go to the source code of this file.

Namespaces

namespace  Density

Defines

#define __DENSITY_H

Functions

double Density::dbeta (const double x, const double a, const double b, const bool give_log)
double Density::dbinom (const int k, const int n, double p, bool give_log)
double Density::dcauchy (const double x, const double l, const double s, const bool give_log)
double Density::dchisq (const double x, const double n, const bool give_log)
double Density::ddirch (const std::vector< double > &p, const std::vector< double > &a, const bool give_log, const bool include_const)
double Density::dexp (const double x, const double b, const bool give_log)
double Density::df (const double x, const double m, const double n, const bool give_log)
double Density::dgeom (const unsigned x, const double p, const bool give_log)
double Density::dgamma (const double x, const double shape, const double scale, const bool give_log)
double Density::dhyper (const unsigned x, const unsigned r, const unsigned b, const unsigned n, bool giveLog)
double Density::dinvgamma (const double y, const double shape, const double scale, const bool give_log)
double Density::dlnorm (const double x, const double mu, const double sigma, const bool give_log)
double Density::dlogis (const double x, const double m, const double s, const bool give_log)
double Density::dmulti (const std::vector< int > &n, const std::vector< double > &p, const bool give_log, const bool include_factorial)
double Density::dnbinom (const unsigned x, const double n, const double p, const bool give_log)
double Density::dnorm (const double x_in, const double mu, const double sigma, const bool give_log)
double Density::dpois (const unsigned x, const double lambda, const bool give_log)
double Density::dt (const double x, const double n, const bool give_log)
double Density::dweibull (const double x, const double a, const double b, const bool give_log)
double Density::BetaEntropy (const double a, const double b)
double Density::logChoose (const double n, const double k)
double Density::gamln (const double x)
double Density::lbeta (const double a, const double b)

Variables

const double Density::MinGammaPar
const double Density::MaxGammaPar


Detailed Description

Collects a variety of constants and function in namespace Util.

Provides definitions for a variety of functions related to numerical evaluation of probability densities.

All are declared in namespace Density with an eye towards avoiding naming conflicts.

Author:
Kent Holsinger
Date:
2004-07-03

Definition in file Density.h.


Generated on Tue Mar 27 16:03:43 2007 for mcmc by  doxygen 1.5.1