ParallelMap
This feature is not supported on the Wolfram Cloud.

ParallelMap[f,expr]
applies f in parallel to each element on the first level in expr.

ParallelMap[f,expr,levelspec]
applies f in parallel to parts of expr specified by levelspec.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

ParallelMap works like Map, but in parallel:

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

ParallelMap can work with any function:

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

Use explicit pure functions:

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

Functions defined interactively can immediately be used in parallel:

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