Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/interface/truncation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ truncfilter(f) = TruncationByFilter(f)
"""
TruncationByValue(atol::Real, rtol::Real, p::Real, by, keep_below::Bool=false)

Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p)`.
Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p))`.
If `keep_below = true`, discard these values instead.
See also [`trunctol`](@ref)
"""
Expand All @@ -153,7 +153,7 @@ end
"""
trunctol(; atol::Real=0, rtol::Real=0, p::Real=2, by=abs, keep_below::Bool=false)

Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p)`.
Truncation strategy to keep the values that satisfy `by(val) > max(atol, rtol * norm(values, p))`.
If `keep_below = true`, discard these values instead.
"""
function trunctol(; atol::Real = 0, rtol::Real = 0, p::Real = 2, by = abs, keep_below::Bool = false)
Expand Down
Loading