ParallelMap

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 Options

Examples

open all close all

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]=

Scope  (6)

Generalizations & Extensions  (2)

Options  (11)

Applications  (2)

Properties & Relations  (10)

Possible Issues  (6)

Introduced in 2008
(7.0)
|
Updated in 2010
(8.0)