public TriangleExp — parametric type
TriangleExp{T, S<:Integer}(range0, range1, period, decay)
TriangleExp(λ0, λ1, period, γ)
TriangleExp(;λ0, λ1, period, γ)
A triangle wave schedule
with period and an exponentially decaying amplitude.
The output conforms to
abs(λ0 - λ1) * Triangle(t) * γ^(t - 1) + min(λ0, λ1)
where Triangle(t) is (2 / π) * abs(asin(sin(π * (t - 1) / schedule.period))) (see Triangle).
Arguments
range0/λ0: the first range endpointrange1/λ1: the second range endpointperiod::Integer: the perioddecay/γ: the decay rate