public
TriDecay2
— parametric type
TriDecay2{T<:Tri} <: CyclicSchedule
TriDecay2(λ0, λ1, period)
TriDecay2(;λ0, λ1, period)
A triangle wave schedule
with period
and half the amplitude each cycle.
The output conforms to
abs(λ0 - λ1) * Tri(t) / (2^floor((t - 1) / period)) + 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