|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ParallelArray
ParallelArray[f, n]
generates in parallel a list of length n, with elements
, evaluated.
ParallelArray[f, {n1, n2, ...}]
generates in parallel an
array of nested lists, with elements
.
ParallelArray[f, {n1, n2, ...}, {r1, r2, ...}]
generates in parallel a list using the index origins
(default
).
ParallelArray[f, dims, origin, h]
uses head h, rather than List, for each level of the array.
Details and OptionsDetails and Options
- ParallelArray is a parallel version of Array, which automatically distributes different evaluations of expr among different kernels and processors.
- ParallelArray will give the same results as Array, except for side effects during the computation.
- Parallelize[Array[f, n]] is equivalent to ParallelArray[f, n].
- If an instance of ParallelArray cannot be parallelized it is evaluated using Array.
- ParallelArray takes the same DistributedContexts option as ParallelTable.
New in 7 | Last modified in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
