Consider the following code with two-dimensional arrays. Does this loop have dependences?
Can these loops be written so they are parallel? If so, how? Rewrite the source code so that it is clear that the loop can be vectorized, if possible.
for (j = 2; j <= n; j++) {
for (i = 2; i <= j; i++) {
a[i, j] = a[i-1, j] * a[i-1, j] + b[i, j]
}
}