Skip to content

Follow Random API more closely #1316

@devmotion

Description

@devmotion

#1314 defines Random.Sampler for Sampleables with sampler.

I think one could consider

  • switching to Random.Sampler completely and deprecating sampler,
  • committing to the Random interface more closely. E.g., Random uses rand!(rng, x, sampler) whereas Distributions supports rand!(rng, sampler, x). If desired, one could implement rand!(rng, x, sampler) as well and possibly deprecate rand!(rng, sampler, x).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions