Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Q = Table[Table[, S], S];
  2. For[i = 1, i <= S, i++,
  3. For[j = 1, j <= S, j++,
  4. Q[[i, j]] = (* Numerical calculation that depends on both `i` and `j`*);
  5. ] (* End For *);
  6. ] (* End For *) ;
  7.  
  8. Q = Table[Table[, S], S]; (* Probably this is no longer needed *)
  9. Q = ParallelTable[
  10. (* Numerical calculation that depends on both `i` and `j`*)
  11. ,
  12. {i, 1, S}, {j, 1, S}];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement