ApproxInferenceBase
Reference
ApproxInferenceBase.Factored
— TypeFactored{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))
Base.length
— Methodlength(p::Factored) = begin
returns the number of distributions contained in p
.
Base.rand
— Methodrand(rng::AbstractRNG, factoreddist::Factored)
function to sample one element from a Factored
object
Distributions.logpdf
— Methodlogpdf(d::Factored, x) = begin
Function to evaluate the logpdf of a Factored
distribution object
Distributions.pdf
— Methodpdf(d::Factored, x) = begin
Function to evaluate the pdf of a Factored
distribution object