Function
- Tags
- math
In maths a function is a concept mapping from a domain of possible inputs into a range of possible outputs, where the function must consistently give the same outputs for the same inputs. That is to say a function cannot output 5 for input 6 and then 7 for the same input if called again.
We can [see page 12, denote] a function mapping from the domain \( A \) to the range \( B \) as \( f : A \rightarrow B \)
We define the arity of a function as the number of parameters it takes.