diff --git a/stdlib/Random/src/Random.jl b/stdlib/Random/src/Random.jl index 8da2dd6f3e9c7..30bed9433de5a 100644 --- a/stdlib/Random/src/Random.jl +++ b/stdlib/Random/src/Random.jl @@ -326,6 +326,8 @@ When only one argument is passed besides the optional `rng` and is a `Tuple`, it as a collection of values (`S`) and not as `dims`. +See also [`randn`](@ref) for normally distributed numbers, and [`rand!`](@ref) and [`randn!`](@ref) for the in-place equivalents. + !!! compat "Julia 1.1" Support for `S` as a tuple requires at least Julia 1.1. diff --git a/stdlib/Random/src/normal.jl b/stdlib/Random/src/normal.jl index 9d0f1595f052f..c2738653a0438 100644 --- a/stdlib/Random/src/normal.jl +++ b/stdlib/Random/src/normal.jl @@ -20,6 +20,8 @@ The `Base` module currently provides an implementation for the types [`Complex`](@ref) counterparts. When the type argument is complex, the values are drawn from the circularly symmetric complex normal distribution of variance 1 (corresponding to real and imaginary part having independent normal distribution with mean zero and variance `1/2`). +See also [`randn!`](@ref) to act in-place. + # Examples ```jldoctest julia> using Random