From Wikipedia, the free encyclopedia
(Redirected from Piecewise function)
Jump to navigation Jump to search

In mathematics, a piecewise function is a function that can give different outputs based on its input. For example, there might be a function which gives 2x when x > 0, and x-1 when x ≤ 0.