Funcion
Función, or función in Spanish, is a fundamental concept in mathematics and computer science describing a rule that assigns to each input exactly one output. In general usage, the term denotes a mapping from a domain to a codomain, where the input set is often called the domain and the output set the codomain. The standard notation expresses this as f: X → Y with f(x) = y, and the graph of the function consists of all ordered pairs (x, f(x)).
In mathematics, a function must assign a single output to every input in its domain. The image
In programming, a function is a reusable block of code that takes inputs, performs operations, and returns
Etymology traces the term to the Latin functio, meaning performance or execution. In Spanish, the word is
---