Julia Programming Language
How to pick random values from an `Enum` type?
General Usage
random
,
enum
yakir12
November 16, 2022, 8:11am
2
This works:
rand(instances(Ball), 10)
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Random Tuple
General Usage
question
8
3597
July 6, 2020
Custom Sampler with multiple parameters
General Usage
question
,
random
4
244
November 23, 2023
Can rand generate random vectors with custom type entries?
General Usage
random
5
481
December 2, 2023
Using Random.SamplerSimple
Internals & Design
question
5
802
April 21, 2019
Document for Julia 1.0.3 for rand! confuses me
New to Julia
3
1060
January 13, 2019