ssmkit
master-68aed98
|
Probability distribution functions. More...
Classes | |
class | Categorical |
Categorical (multinomial) distribution. More... | |
class | Conditional |
Conditional distribution function. More... | |
class | Gaussian |
A D-dimensional multivariate Gaussian distribution. More... | |
Functions | |
template<class TPDF , class TParamMap > | |
Conditional< TPDF, TParamMap > | makeConditional (TPDF pdf, TParamMap map) |
Convenient builder that returns a conditional distribution object. More... | |
Probability distribution functions.
Conditional<TPDF, TParamMap> ssmkit::distribution::makeConditional | ( | TPDF | pdf, |
TParamMap | map | ||
) |
Convenient builder that returns a conditional distribution object.
Use this when you want to use type deduction for TPDF
and TParamMap
A probability distribution object that implements \(\mathcal{F}(\theta)\). | |
map | A callable object that implements \(g(.)\). |
pdf
should provide random, likelihood and parameterize methods, e.g. Gaussian. map
should be callable with return type equivalent to parameter type of pdf
, e.g. map::LinearGaussian. Definition at line 92 of file conditional.hpp.