Introduction

Schedule cheatsheet

Tutorials

Interface


API Reference

public Triangleparametric type

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

A triangle wave schedule with period. The output conforms to

abs(λ0 - λ1) * (2 / π) * abs(asin(sin(π * (t - 1) / period))) + min(λ0, λ1)

Arguments

  • range == abs(λ0 - λ1): the dynamic range (given by the endpoints)
  • offset == min(λ0, λ1): the offset / minimum value
  • period::Integer: the period