Guest User

Untitled

a guest
Apr 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #pragma omp parallel for private(x, j, tid) schedule(static) reduction(+:cluster0IndexCounter)
  2.  
  3. for (x=0; x<=698; x++)
  4. {
  5.  
  6. for (j=0; j<9; j++) //populate cluster0 with points
  7. {
  8. cluster0[cluster0IndexCounter][j]=matxOriginal[x][j];
  9.  
  10. }
  11.  
  12. cluster0IndexCounter=cluster0IndexCounter+1;
  13.  
  14. }
  15.  
  16.  
  17. printf("cluster0: %f, %f, %f, %f, %fn", cluster0[9][0], cluster0[9][1], cluster0[9][2], cluster0[9][3], cluster0[9][4]);
Add Comment
Please, Sign In to add comment