ParallelTable
This feature is not supported on the Wolfram Cloud.

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.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

ParallelTable works like Table, but in parallel:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

A table of the first 10 squares:

In[1]:=
Click for copyable input
Out[1]=

A table with i running from 0 to 20 in steps of 2:

In[1]:=
Click for copyable input
Out[1]=

Make a 4×3 matrix:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]//MatrixForm=

Plot a table:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)
| Updated in 2010
(8.0)