Idempotence (source code)

= Idempotence
{wiki=Idempotence}

Idempotence is a property of certain operations in mathematics and computer science where applying the operation multiple times has the same effect as applying it just once. In other words, performing an operation a number of times doesn't change the result beyond the initial application. \#\#\# Mathematical Definition In mathematics, a function \\( f \\) is considered idempotent if: \\\[ f(f(x)) = f(x) \\quad \\text\{for all \} x \\\] \#\#\# Examples 1.