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
629
January 16, 2018
Random with no duplicate
New to Julia
4
1640
December 21, 2021
Creating an array/matrix with a specified range of randomly generated numbers
New to Julia
5
20485
September 25, 2018
Dealing with seeds in random numbers
New to Julia
4
3966
September 21, 2019
How to create an array of specific length populated by random uniform values within a range
New to Julia
9
2881
March 27, 2019