A real function

*f*is said to be a step function if it is constant on given intervals.The graph of a step function is formed by a certain number of plateaus that can look like this graph:

The *floor function* is a **step function**, but not all step functions are floor functions.

A *step function* is a synonym for *piecewise constant function*.

### Examples

- A floor function is a step function:

- A least integer function is a step function:

- Here is the graph of an exponential variation function that also represents a step function: