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:

    I am not afraid of the priests in the long-run. Scientific method is the white ant which will slowly but surely destroy their fortifications. And the importance of scientific method in modern practical life—always growing and increasing—is the guarantee for the gradual emancipation of the ignorant upper and lower classes, the former of whom especially are the strength of the priests.
    Thomas Henry Huxley (1825–95)

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