Skip to content
New issue

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

Missing rand procedure for MvNormalMeanScalePrecision #387

Open
albertpod opened this issue Mar 5, 2024 · 1 comment
Open

Missing rand procedure for MvNormalMeanScalePrecision #387

albertpod opened this issue Mar 5, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@albertpod
Copy link
Member

Following the discussion, we have found that sampling from MvNormalMeanScalePrecision is not implemented, i.e.

julia> dist = MvNormalMeanScalePrecision(zeros(2), 2.0)
MvNormalMeanScalePrecision{Float64, Vector{Float64}}=[0.0, 0.0], γ=2.0)

julia> rand(dist)
ERROR: MethodError: no method matching length(::MvNormalMeanScalePrecision{Float64, Vector{Float64}})
@albertpod albertpod added the enhancement New feature or request label Mar 5, 2024
@bvdmitri
Copy link
Member

bvdmitri commented Mar 6, 2024

Maybe we should move this distribution in ExponentialFamily.jl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants