Skip to content

Commit

Permalink
Remove docs for deprecated cummin/cummax, more cross refs (#19882)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt authored and tkelman committed Jan 6, 2017
1 parent 45d2fe0 commit a861aaf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
14 changes: 0 additions & 14 deletions base/docs/helpdb/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ Calling `Ref(array[, index])` is generally preferable to this function.
"""
pointer

"""
cummin(A, [dim])
Cumulative minimum along a dimension. The dimension defaults to 1.
"""
cummin

"""
precision(num::AbstractFloat)
Expand Down Expand Up @@ -542,13 +535,6 @@ be passed, to be returned from the last `produce` call in the producer.
"""
consume

"""
cummax(A, [dim])
Cumulative maximum along a dimension. The dimension defaults to 1.
"""
cummax

"""
isinteractive() -> Bool
Expand Down
7 changes: 4 additions & 3 deletions base/multidimensional.jl
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,10 @@ function cumsum{T}(A::AbstractArray{T}, axis::Integer=1)
end

"""
cumsum!(B, A, [dim])
cumsum!(B, A, dim::Integer=1)
Cumulative sum of `A` along a dimension, storing the result in `B`. The dimension defaults
to 1.
to 1. See also [`cumsum`](@ref).
"""
cumsum!(B, A, axis::Integer=1) = accumulate!(+, B, A, axis)

Expand Down Expand Up @@ -613,9 +613,10 @@ julia> cumprod(a,2)
cumprod(A::AbstractArray, axis::Integer=1) = accumulate(*, A, axis)

"""
cumprod!(B, A, [dim])
cumprod!(B, A, dim::Integer=1)
Cumulative product of `A` along a dimension, storing the result in `B`. The dimension defaults to 1.
See also [`cumprod`](@ref).
"""
cumprod!(B, A, axis::Integer=1) = accumulate!(*, B, A, axis)

Expand Down
2 changes: 0 additions & 2 deletions doc/src/stdlib/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ Base.cumprod!
Base.cumsum
Base.cumsum!
Base.cumsum_kbn
Base.cummin
Base.cummax
Base.LinAlg.diff
Base.LinAlg.gradient
Base.rot180
Expand Down

0 comments on commit a861aaf

Please sign in to comment.