Word of the Day ·

R1E1C3U1R1S1I1O1N1

recursion

/ɹɪˈkɜː(ɹ)ʒən/

noun

What it means

  1. countableuncountableThe act of recurring.

    The inhabitants predicate the recursion of these storms by numerous other signs, and are prompt to take every precaution to avoid their effects.

    1852, William Hastings Macaulay, chapter XIX, in Kathay: A Cruise in the China Seas
  2. countableuncountablemathematicsThe act of defining an object (usually a function) in terms of that object itself.

    n! = n × (n − 1)! (for n > 0) or 1 (for n = 0) defines the factorial function using recursion.

    1 more example

    However, we have still not achieved our goal of devising a finite set of rules which will generate an infinite set of sentence structures. In order to achieve this goal, we need to allow for the fact that natural languages typically have the property that they allow potentially infinite recursion of particular structures.

    1988, Andrew Radford, Transformational grammar: a first course, Cambridge, UK: Cambridge University Press, page 128
  3. countableuncountablecomputingThe invocation of a procedure from within itself.

    This function uses recursion to compute factorials.

    1 more example

    When an algorithm makes two recursive calls, we say that it uses binary recursion.

    2011, Michael T. Goodrich, Roberto Tamassia, David M. Mount, Data Structures and Algorithms in C++, John Wiley & Sons, →ISBN, page 144

In a sentence

The inhabitants predicate the recursion of these storms by numerous other signs, and are prompt to take every precaution to avoid their effects.

1852, William Hastings Macaulay, chapter XIX, in Kathay: A Cruise in the China Seas

Where it comes from

  1. Latinrecursiō“the act of running back or again, return”
  2. Englishrecursion

Borrowed from Latin recursiō (“the act of running back or again, return”), from recurrō (“run back; return”), from re- (“back, again”) + currō (“run”).

Subscribe with RSS.