partlydefinedfunction
nounUK /ˈpɑːtli dɪˈfaɪnd ˈfʌŋkʃən/
US /ˈpɑːrtli dɪˈfaɪnd ˈfʌŋkʃən/
A function that only has some of its rules filled in.
The partlydefinedfunction left some inputs without an answer.
OTHER MEANINGS
2. A function that is not defined for every possible input.
Division is a partlydefinedfunction because dividing by zero has no answer.
3. A piece of code that is still being written and does not work for all cases yet.
The partlydefinedfunction crashed when we gave it a negative number.
4. A mathematical rule that only gives outputs for some of the values it could receive.
The teacher called it a partlydefinedfunction since it skipped the odd numbers.