Look at the section for rand!
in Random Numbers · The Julia Language
Why is the following “rng = MersenneTwister(1234);” giving me an error?
$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.0.3 (2018-12-18)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> rng = MersenneTwister(1234);
ERROR: UndefVarError: MersenneTwister not defined
Stacktrace:
[1] top-level scope at none:0