We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to suggest adding this method to compute the characteristic function of Univariate Mixtures:
function cf(d::UnivariateMixture,t) p = probs(d) m = sum(pi * cf(component(d, i),t) for (i, pi) in enumerate(p) if !iszero(pi)) return m end
This is a simple copy of the mean function but applied to the characteristic function. So I think it could be added next to it:
Distributions.jl/src/mixtures/mixturemodel.jl
Line 173 in c1705a3
It matches the general cf signature as seen here:
cf
Distributions.jl/src/univariates.jl
Lines 293 to 297 in c1705a3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to suggest adding this method to compute the characteristic function of Univariate Mixtures:
This is a simple copy of the mean function but applied to the characteristic function. So I think it could be added next to it:
Distributions.jl/src/mixtures/mixturemodel.jl
Line 173 in c1705a3
It matches the general
cf
signature as seen here:Distributions.jl/src/univariates.jl
Lines 293 to 297 in c1705a3
The text was updated successfully, but these errors were encountered: