Julia Programming Language
Changing the the bounds for base.rand Float outputs
New to Julia
question
stevengj
June 4, 2024, 7:30pm
5
You could use
rand(Uniform(-1,1))
via Distributions.jl
.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Frédéric Goualard found an inexactness in our rand()
Numerics
random
19
1163
September 8, 2022
How to create a random Uniform Distribution between (but excluding) 0 and 10?
New to Julia
20
27860
March 17, 2019
Unable to generate random tuples
New to Julia
5
598
March 22, 2020
Generating Float32 uniform random numbers with Distributions.jl
General Usage
distributions
,
random
2
861
November 6, 2023
Reaching bounds of Distributions.Uniform()
Statistics
4
921
May 11, 2021