Introduction

Schedule cheatsheet

Tutorials

Interface


API Reference

private _tridecay2function

TriangleDecay2{T, S<:Integer}(range0, range1, period)
TriangleDecay2(;λ0, λ1, period)

A triangle wave schedule with period and half the amplitude each cycle. The output conforms to

abs(λ0 - λ1) * Triangle(t) / (2^floor((t - 1) / period)) + min(λ0, λ1)

where Triangle(t) is (2 / π) * abs(asin(sin(π * (t - 1) / schedule.period))) (see Triangle).

Arguments

  • range0/λ0: the first range endpoint
  • range1/λ1: the second range endpoint
  • period::Integer: the period