Induction Variable

In computer science, an induction variable is a variable that gets increased or decreased by a fixed amount on every iteration of a loop, or is a linear function of another induction variable.

For example, in the following loop, i and j are induction variables:

for (i=0; i < 10; ++i) { j = 17 * i; }

Read more about Induction Variable:  Application To Strength Reduction, Application To Reduce Register Pressure, Induction Variable Substitution, Non-linear Induction Variables

Famous quotes containing the words induction and/or variable:

    One might get the impression that I recommend a new methodology which replaces induction by counterinduction and uses a multiplicity of theories, metaphysical views, fairy tales, instead of the customary pair theory/observation. This impression would certainly be mistaken. My intention is not to replace one set of general rules by another such set: my intention is rather to convince the reader that all methodologies, even the most obvious ones, have their limits.
    Paul Feyerabend (1924–1994)

    There is not so variable a thing in nature as a lady’s head-dress.
    Joseph Addison (1672–1719)