public Sin — parametric type
Sin{T, S<:Integer}(range0, range1, period)
Sin(;λ0, λ1, period)
A sine wave schedule with period.
The output conforms to
abs(λ0 - λ1) * abs(sin(π * (t - 1) / period)) + min(λ0, λ1)
Arguments
range0/λ0: the first range endpoint
range1/λ1: the second range endpoint
period::Integer: the period