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:

    Women will not advance except by joining together in cooperative action.... Unlike other groups, women do not need to set affiliation and strength in opposition one against the other. We can readily integrate the two, search for more and better ways to use affiliation to enhance strength—and strength to enhance affiliation.
    Jean Baker Miller (20th century)

    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.)