finite-domain function

noun
UK /ˈfaɪnaɪt dəˈmeɪn ˈfʌŋkʃən/
US /ˈfaɪnaɪt doʊˈmeɪn ˈfʌŋkʃən/

A function whose input list has only a limited number of items.

The function that gives the number of letters in each day of the week is a finite-domain function.


OTHER MEANINGS

2. A function defined only on a set with finitely many elements, often studied in discrete mathematics.

In discrete math class, we analyzed a finite-domain function with just five inputs.

3. A computable function whose possible inputs are restricted to a finite set.

The lookup table implements a finite-domain function for the seven weekdays.

4. A function used in programming that accepts arguments only from a small fixed set of values.

The color-picker uses a finite-domain function limited to red, green, and blue.