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
How to create a random Uniform Distribution between (but excluding) 0 and 10?
New to Julia
20
27715
March 17, 2019
Frédéric Goualard found an inexactness in our rand()
Numerics
random
19
1121
September 8, 2022
Unable to generate random tuples
New to Julia
5
579
March 22, 2020
Range for core function rand()
Statistics
1
681
December 10, 2017
Random number in (0,1]
General Usage
16
15085
October 8, 2018