The triangular function (also known as the triangle function, hat function, or tent function) is defined either as: or, equivalently, as the convolution of two identical unit rectangular functions: The triangular function can also be represented as the product of the rectangular and absolute value functions: