Constant function
In mathematics, a constant function is a function whose (output) value is the same for every input value.[1][2][3] For example, the function y(x) = 4 is a constant function because the value of y(x) is 4 regardless of the input value x (see image).
Function |
---|
x ↦ f (x) |
Examples of domains and codomains |
Classes/properties |
Constructions |
Generalizations |
