SawtoothWave
A function whose graph is a sawtooth wave.
Syntax

SawtoothWave(x)

x
is a real number

Description
SawtoothWave(x)
is a sawtooth wave with amplitude 1
and wavelength 2⋅π
. The range is [−1, 1]
and the graph is a straight line through the origin from x = −π
to x = π
. At the discontinuities, the value is 0
.