public
TriExp
— parametric type
TriExp{F<:Number, T<:Tri{F}, S<:Exp{F}} <: CyclicSchedule
TriExp(λ0, λ1, period, γ)
TriExp(;λ0, λ1, period, γ)
A triangle wave schedule
with period
and an exponentially decaying amplitude.
The output conforms to
abs(λ0 - λ1) * Tri(t) * γ^(t - 1) + min(λ0, λ1)
where Tri(t)
is the cycle
of Tri
.
Arguments
λ0::Number
: the start valueλ1::Number
: the end valueperiod::Integer
: the periodγ::Number
: the decay rate