Skip to main content
to recurse

to recurse

8.6
To run a process that calls itself again, often in computing
  • verb
  • /rɪˈkɜrs/
  • Specialized
translation icon : recursar
  • To calculate the factorial of a number, the function will recurse by multiplying the number by the factorial of the number minus one.

Examples

  • The algorithm will recurse through each level of the data structure until it reaches the desired element.

  • And we're going to recurse on on the LNG.

  • And finally we recurse on one of those two halves.

  • So the way we're actually going to do this is we're not going to we're not just going to recurse into the two things that the sketch fits between, OK?

  • The intuition for the solution is also provided in the example: we can cluster out these two components and recurse.

    Academic text (2012)
  • If we are able to successfully perform such a clustering of the original mixture into two sub-mixtures, we can recurse.

    Academic text (2012)
  • One, I mixed up the label for the length of the incoming list and the label for the point to be searched, and two, I forgot to divide the length in half when I recursed.

    Blog text (20)
  • Hence, if we compute the smallest eigenvector of this covariance matrix, we recover a direction that allows us to cluster the original mixture into two sub-mixtures and recurse.

    Academic text (2012)
  • In programming, when a function calls itself, it is said to recurse until a base case is encountered.

Surface Forms

recurse infinitive
recurred past
recurred past participle
recursing present participle
recurses third person singular

Etymology

Recurse comes from the Latin parts re- meaning 'back' and curs meaning 'to run', the same root as course. So in computing, to recurse is to 'run back' into the same function and call itself again, which makes the process repeat.