Triangular pulse function
If a
, b
,
and c
are variables or expressions with variables, triangularPulse
assumes
that a <= b <= c
. If a
, b
,
and c
are numerical values that do not satisfy
this condition, triangularPulse
throws an error.
If a = b = c
, triangularPulse
returns
0.
If a = b
or b = c
,
the triangular function can be expressed in terms of the rectangular
function.