Julia Programming Language
How do I create an array with random unique numbers in a specific range?
New to Julia
question
,
random
rafael.guerra
June 21, 2024, 10:31pm
8
If it matters, it might be more efficient to do:
using StatsBase sample(1:40, 30; replace=false)
9 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Random specific in julia
New to Julia
3
633
January 16, 2018
Random with no duplicate
New to Julia
4
1761
December 21, 2021
Sampling from a list of integers without repetition
New to Julia
3
6913
June 15, 2020
How to create a random Uniform Distribution between (but excluding) 0 and 10?
New to Julia
20
27475
March 17, 2019
How to create an array of specific length populated by random uniform values within a range
New to Julia
9
2951
March 27, 2019