ExponentialFamily.jl is a Julia package that extends the functionality of Distributions.jl by providing a collection of exponential family distributions and customized implementations.
This PR adds Distributions.ValueSupport as a type to ExponentialFamilyDistribution. More specifically, ExponentialFamilyDistribution(::Type{T}, naturalparameters, conditioner, attributes) becomes ExponentialFamilyDistribution(::Type{Tvar}, ::Type{Tval}, naturalparameters, conditioner, attributes) where Tvar is either distribution type or variate type and Tval is either Continuous or Discrete.
This PR adds
Distributions.ValueSupport
as a type toExponentialFamilyDistribution
. More specifically,ExponentialFamilyDistribution(::Type{T}, naturalparameters, conditioner, attributes)
becomesExponentialFamilyDistribution(::Type{Tvar}, ::Type{Tval}, naturalparameters, conditioner, attributes)
whereTvar
is either distribution type or variate type andTval
is eitherContinuous
orDiscrete
.