Serial version of Array that constructs an array by applying a function to index tuples
ParallelArray[f, n]
ParallelArray[f, {n1, n2, …}]
ParallelArray[f, {n1, n2, …}, {r1, r2, …}]
ParallelArray[f, dims, origin, h]
ParallelArray[f, 10, 0]
→ {f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], f[9]}ParallelArray[f, {3, 2}]
→ {{f[1, 1], f[1, 2]}, {f[2, 1], f[2, 2]}, {f[3, 1], f[3, 2]}}ParallelArray[f, {3, 2}, 1, h]
→ h[h[f[1, 1], f[1, 2]], h[f[2, 1], f[2, 2]], h[f[3, 1], f[3, 2]]]- Method — default Automatic
- DistributedContexts — default $DistributedContexts
- ProgressReporting — default $ProgressReporting