Don’t Change Rank
•Rather than change rank, use “singleton”
values
to collapse dimensions for lower rank
•For a region R = [1..m, 1..n], the rank 2 arrays R1 = [1..m, 1]
and R2 = [1, 1..n]
are
regions corresponding to the first column and row
•
•ZPL is
designed to exploit the similarity between an array with collapsed dimensions
and
a corresponding array of lower rank
