Strength Reduction - Strength Reduction Example

Strength Reduction Example

Below is an example that will strength reduce all the loop multiplications that arose from array indexing address calculations.

Imagine a simple loop that sets an array to the identity matrix.

for (i = 0; i < n; i++) { for (j = 0; j < n; j++) { A = 0.0; } A = 1.0; }

Read more about this topic:  Strength Reduction

Famous quotes containing the words strength and/or reduction:

    Will power is only the tensile strength of one’s own disposition. One cannot increase it by a single ounce.
    Cesare Pavese (1908–1950)

    The reduction of nuclear arsenals and the removal of the threat of worldwide nuclear destruction is a measure, in my judgment, of the power and strength of a great nation.
    Jimmy Carter (James Earl Carter, Jr.)