Range¶
In Maths1, the range of a function is the set of all possible outputs within the Codomain. This might be smaller than the codomain itself if the function is not injective.
Backlinks¶
- A Programmers Introduction to Mathematics
- Topic: Maths
- Mathematical Functions
- A function in mathematics1 is a relation between a value in a domain and a value in a codomain across a range. In programming terms, this means that mathematical functions are single-arity and pure. In other words, they take a single value and, given the same value, always produce the same output.
- Codomain