A function whose graph is a sawtooth wave.
xis a real number
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