hello, i am trying to make one exercise where there is one 2D array and the elements of each column depend only by those from the previous column. i tried to make the elements of each column to make their calculations parallel but i dont know if this is true. here is my code

for(i=0;i<N;i++)

#pragma omp parallel for

for(j=0;j<N;j++)

array[j][i]=...

can somebody tell me if its true or if their is a better way to write it?

tnx