partial function
[PAR-shul FUNK-shun]
nounpl: partial functions
função parcial
1. In mathematics and computer science, a function that is not defined for all possible inputs in its domain, but only for a subset of them.
The square root function is a partial function on real numbers because it is not defined for negative inputs.
A função raiz quadrada é uma função parcial nos números reais porque não é definida para entradas negativas.
2. In functional programming, a technique of fixing some arguments of a function to create a new function with fewer parameters.
Using partial function application, we can create a multiply-by-2 function from a general multiplication function.
Usando aplicação de função parcial, podemos criar uma função de multiplicação por 2 a partir de uma função de multiplicação geral.
This is primarily technical terminology used in mathematics and computer science education in both Brazil and Portugal. The term is identical in both Portuguese-speaking regions and is increasingly important in modern programming paradigms, particularly in functional programming languages like Haskell and Scala.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →