In mathematics, the restriction of a function f is a new function f|A obtained by choosing a smaller domain A for the original function f. The notation is also used.
Let f : E → F be a function from a set E to a set F, so that the domain of f is in E (). If a set A is a subset of E, then the restriction of f to A is the function