-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Description
#1314 defines Random.Sampler for Sampleables with sampler.
I think one could consider
- switching to
Random.Samplercompletely and deprecatingsampler, - committing to the Random interface more closely. E.g., Random uses
rand!(rng, x, sampler)whereas Distributions supportsrand!(rng, sampler, x). If desired, one could implementrand!(rng, x, sampler)as well and possibly deprecaterand!(rng, sampler, x).
mschauer, pietrolesci, 3f6a and cossio