Encyclopedia > Reiterative

  Article Content

Iteration

Redirected from Reiterative

Iteration is a characteristic of certain algorithms or computer programs in which a sequence of one or more algorithmic steps are performed in a program loop. It is distinguished from the repetitive technique called recursion.

Here is an example, in pseudocode:

    a = 0
    for i = 0 stepby 1 until 3
        a = a + i
    print a  /* "6" is printed */

A process which is repeated again and again it know as a reiterative process. Reiteration is often used in order to converge on the final result when starting with an educated guess.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Lake Ronkonkoma, New York

... of 18, 7.4% from 18 to 24, 32.6% from 25 to 44, 23.2% from 45 to 64, and 12.2% who are 65 years of age or older. The median age is 37 years. For every 100 females there ...

 
 
 
This page was created in 26.1 ms