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.
- A Programmers Introduction to Mathematics
- Topic: Maths
- A polynomial is a function with n coefficients, where n is known as the degree. A single-variable polynomial f has the form
- Language: Function over a set