This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ParallelSum

ParallelSum[expr, {i, imax}]
evaluates in parallel the sum sum_(i=1)^(i_(max))expr.
ParallelSum[expr, {i, imin, imax}]
starts with i=i_(min).
ParallelSum[expr, {i, imin, imax, di}]
uses steps di.
ParallelSum[expr, {i, {i1, i2, ...}}]
uses successive values i_1,i_2,....
ParallelSum[expr, {i, imin, imax}, {j, jmin, jmax}, ...]
evaluates in parallel the multiple sum sum_(i=i_(min))^(i_(max))sum_(j=j_(min))^(j_(max))...expr.
  • ParallelSum is a parallel version of Sum, which automatically distributes partial summations among different kernels and processors.
  • ParallelSum will give the same results as Sum, except for side effects during the computation.
  • If an instance of ParallelSum cannot be parallelized it is evaluated using Sum.
New in 7