Skip to content

Commit

Permalink
Merge pull request #14378 from MichaelHatherly/mh/purge-rst
Browse files Browse the repository at this point in the history
Convert stdlib to markdown.
  • Loading branch information
tkelman committed Dec 16, 2015
2 parents 32bd104 + 2c7aef1 commit 79b2418
Show file tree
Hide file tree
Showing 64 changed files with 14,502 additions and 13,730 deletions.
2 changes: 1 addition & 1 deletion base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ end

## iteration utilities ##

doc"""
"""
foreach(f, c...) -> Void
Call function `f` on each element of iterable `c`.
Expand Down
8 changes: 5 additions & 3 deletions base/combinatorics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,16 @@ function invperm(a::AbstractVector)
end

#XXX This function should be moved to Combinatorics.jl but is currently used by Base.DSP.
doc"""
"""
nextprod([k_1,k_2,...], n)
Next integer not less than `n` that can be written as $\prod k_i^{p_i}$ for integers $p_1$, $p_2$, etc.
Next integer not less than `n` that can be written as ``\\prod k_i^{p_i}`` for integers
``p_1``, ``p_2``, etc.
For a list of integers i1, i2, i3, find the smallest
i1^n1 * i2^n2 * i3^n3 >= x
for integer n1, n2, n3
"""
function nextprod(a::Vector{Int}, x)
Expand Down Expand Up @@ -210,4 +213,3 @@ for deprecatedfunc in [:combinations, :factorial, :prevprod, :levicivita,
"Run Pkg.add(\"Combinatorics\") to install Combinatorics on Julia v0.5-"))
end
end

Loading

0 comments on commit 79b2418

Please sign in to comment.