 Triangular function

A triangular function (also known as a triangle function, hat function, or tent function) is a function whose graph takes the shape of a triangle.Often this is an isosceles triangle of height 1 and base 2 in which case it is referred to as "the" triangular function.