JuliaMath / JuliaMath/DensityInterface.jl
API for objects that support rand?
Open
- Dominant language
- Julia
- Stars
- 12
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
In relation to the discussion on DiffEqBase and QuasiMonteCarlo in JuliaStats/Distributions.jl#1139 - should have a trait based API for (density-like) objects that support IID sampling, i.e. that support `rand` (and possibly `rand!` as well)? This could be part of DensityInterface or it could go into a separate package, but it might be nice to have a community-standard way to ask something "do you support rand?", or maybe even "what do you produce on rand?".
CC @ChrisRackauckas , @devmotion
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.