Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Parallel Computing > Data Parallelism >
Mathematica > Core Language > Tuning & Debugging > Parallel Computing > Data Parallelism >

ParallelTable

ParallelTable[expr, {imax}]
generates in parallel a list of imax copies of expr.
ParallelTable[expr, {i, imax}]
generates in parallel a list of the values of expr when i runs from 1 to imax.
ParallelTable[expr, {i, imin, imax}]
starts with i=imin.
ParallelTable[expr, {i, imin, imax, di}]
uses steps di.
ParallelTable[expr, {i, {i1, i2, ...}}]
uses the successive values i1, i2, ....
ParallelTable[expr, {i, imin, imax}, {j, jmin, jmax}, ...]
gives a nested list. The list associated with i is outermost.
  • ParallelTable is a parallel version of Table which automatically distributes different evaluations of expr among different kernels and processors.
  • ParallelTable will give the same results as Table, except for side effects during the computation.
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team