ApproxInferenceBase

Reference

ApproxInferenceBase.FactoredType
Factored{N} <: Distribution{Multivariate, MixedSupport}

a Distribution type that can be used to combine multiple UnivariateDistribution's and sample from them.

Example: it can be used as prior = Factored(Normal(0,1), Uniform(-1,1))

source
Base.lengthMethod
length(p::Factored) = begin

returns the number of distributions contained in p.

source
Base.randMethod
rand(rng::AbstractRNG, factoreddist::Factored)

function to sample one element from a Factored object

source
Distributions.logpdfMethod
logpdf(d::Factored, x) = begin

Function to evaluate the logpdf of a Factored distribution object

source
Distributions.pdfMethod
pdf(d::Factored, x) = begin

Function to evaluate the pdf of a Factored distribution object

source