Skip to content

Commit

Permalink
remove newline before "Examples", made pluralized (tkelman)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rfourquet committed Jul 10, 2017
1 parent 7d07dc5 commit d27c9fe
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions base/random.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1803,8 +1803,7 @@ number generator (see [Random Numbers](@ref)).
To randomly permute an arbitrary vector, see [`shuffle`](@ref)
or [`shuffle!`](@ref).
# Example
# Examples
```jldoctest
julia> randperm(MersenneTwister(1234), 4)
4-element Array{Int64,1}:
Expand All @@ -1825,8 +1824,7 @@ optional `rng` argument specifies a random number generator (see
[Random Numbers](@ref)). To randomly permute an arbitrary vector, see
[`shuffle`](@ref) or [`shuffle!`](@ref).
# Example
# Examples
```jldoctest
julia> randperm!(MersenneTwister(1234), Vector{Int}(4))
4-element Array{Int64,1}:
Expand Down Expand Up @@ -1862,8 +1860,7 @@ randperm!(a::Array{<:Integer}) = randperm!(GLOBAL_RNG, a)
Construct a random cyclic permutation of length `n`. The optional `rng`
argument specifies a random number generator, see [Random Numbers](@ref).
# Example
# Examples
```jldoctest
julia> randcycle(MersenneTwister(1234), 6)
6-element Array{Int64,1}:
Expand All @@ -1885,8 +1882,7 @@ Construct in `A` a random cyclic permutation of length `length(A)`.
The optional `rng` argument specifies a random number generator, see
[Random Numbers](@ref).
# Example
# Examples
```jldoctest
julia> randcycle!(MersenneTwister(1234), Vector{Int}(6))
6-element Array{Int64,1}:
Expand Down

0 comments on commit d27c9fe

Please sign in to comment.