KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
prob_pdf.h File Reference

PDFs and CDFs for the different distributions defined in "prob_distribution.h". More...

#include "m_cpp/m_special.h"
#include "prob_cpp/prob_distribution.h"

Go to the source code of this file.

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 

Functions

double kjb::pdf (const Geometric_distribution &dist, double x)
 Computes the PMF of a geometric distribution at x. More...
 
double kjb::pdf (const Log_normal_distribution &dist, double x)
 Computes the PDF of a log-normal distribution at x. More...
 
template<class T >
double kjb::pdf (const Categorical_distribution< T > &dist, const T &x)
 Computes the PMF of a categorical distribution at x. More...
 
double kjb::pdf (const MV_gaussian_distribution &P, const Vector &x)
 Computes the joint PDF of a multivariate Gaussian at x. More...
 
template<class Distribution >
double kjb::pdf (const Mixture_distribution< Distribution > &dist, const typename Distribution_traits< Mixture_distribution< Distribution > >::type &x)
 Computes the PDF/PMF of a mixture distribution at x. More...
 
double kjb::pdf (const Gaussian_distribution &P, double x)
 Compute pdf of a Gaussian distribution. More...
 
double kjb::log_pdf (const Beta_binomial_distribution &dist, double k)
 Computes the log PDF of a Beta-binomial distribution at k. More...
 
double kjb::pdf (const Beta_binomial_distribution &dist, double k)
 Evaluate the probability density function of a Beta-binomial distribution. More...
 
template<size_t D>
double kjb::log_pdf (const Von_mises_fisher_distribution< D > &dist, const kjb::Vector_d< D > &v)
 
template<size_t D>
double kjb::pdf (const Von_mises_fisher_distribution< D > &dist, const kjb::Vector_d< D > &v)
 Evaluate the probability density function of a Von-mises Fisher distribtuion (x's magnitude is ignored/assumed 1.0) More...
 
template<size_t D>
double kjb::log_pdf (const Uniform_sphere_distribution< D > &, const kjb::Vector_d< D > &)
 Computes the log PDF of a uniform distribution over the surface of the unit sphere in D-dimensional Euclidean space. The density is given in D-1 dimensional euclidean units. More...
 
template<size_t D>
double kjb::pdf (const Uniform_sphere_distribution< D > &P, const kjb::Vector_d< D > &x)
 Evaluate the probability density function of a uniform sphere distribution (x's magnitude is ignored / assumed 1.0) More...
 
double kjb::cdf (const Log_normal_distribution &dist, double x)
 Computes the cdf of a log-normal distribution at x. More...
 
template<class T >
double kjb::cdf (const Categorical_distribution< T > &dist, const T &x)
 Computes the CDF of a categorical distribution at x. More...
 
template<class Distribution >
double kjb::cdf (const Mixture_distribution< Distribution > &dist, const typename Distribution_traits< Mixture_distribution< Distribution > >::type &x)
 Computes the CDF of a mixture distribution at x. More...
 
template<class Distribution >
double kjb::log_pdf (const Distribution &P, const typename Distribution_traits< Distribution >::type &x)
 Computes the log PDF of a distribution at x. More...
 
double kjb::log_pdf (const Gaussian_distribution &P, double x)
 Computes the log PDF a normal distribution at x. More...
 
double kjb::log_pdf (const Laplace_distribution &P, double x)
 Computes the log PDF a Laplace distribution at x. More...
 
double kjb::log_pdf (const Binomial_distribution &P, double k)
 Computes the log PDF a normal distribution at x. More...
 
double kjb::log_pdf (const MV_gaussian_distribution &P, const Vector &x)
 Computes the log PDF a multivariate normal distribution at x. More...
 
double kjb::pdf (const Chinese_restaurant_process &cpr, const Chinese_restaurant_process::Type &B)
 PDF of the CPR. More...
 
double kjb::log_pdf (const Chinese_restaurant_process &cpr, const Chinese_restaurant_process::Type &B)
 log-PDF of the CPR. More...
 

Detailed Description

PDFs and CDFs for the different distributions defined in "prob_distribution.h".

Author
Kobus Barnard
Ernesto Brau

The pdf and cdf functions supplied by boost are used when possible. This file contains pdf and cdf functionality for the distributions written by us (i.e., those that are not present in the boost library.