1
$\begingroup$

Is there a name for a function which, when applied to its own result, will always return that same result?

e.g. for a function $f(x) = ||x||$

$f(2.5) = 2$

and

$f(f(2.5)) = 2$

$\endgroup$
  • 1
    $\begingroup$ The property is Idempotence. $\endgroup$ – Mauro ALLEGRANZA Jan 9 '17 at 13:49
  • $\begingroup$ @MauroALLEGRANZA post this as answer for me to mark as correct $\endgroup$ – goofballLogic Jan 9 '17 at 13:50
2
$\begingroup$

I would say that the common name is idempotent, see https://en.wikipedia.org/wiki/Idempotence

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.