consistentfunction

noun
UK /kənˈsɪstənt ˈfʌŋkʃən/
US /kənˈsɪstənt ˈfʌŋkʃən/

A consistent function is a math rule that always gives the same answer for the same input.

Because the machine's consistent function always adds two, putting in 3 always gives 5.


OTHER MEANINGS

2. A function that keeps the same value no matter what input it gets.

The constant function f(x) = 4 is a consistent function that always returns 4.

3. A piece of code that always produces the same output for the same input.

The programmer wrote a consistent function so the test results never changed.

4. A rule or job that is carried out the same way every time.

Checking the doors each night became a consistent function of the security guard's routine.