Skip to content

ParallelTable

ParallelTable[expr, n] returns a list with n copies of expr, evaluated in parallel.

ParallelTable[expr, {sym, n}] returns a list with expr evaluated with sym = 1 to n, evaluated in parallel.

ParallelTable[expr, {sym, m, n}] returns a list with expr evaluated with sym = m to n, evaluated in parallel.

Attributes[ParallelTable] := {HoldAll, Protected}

Simple examples

In[1]:= ParallelTable[i, {i, 5, 10}]
Out[1]= {5, 6, 7, 8, 9, 10}