a parallel implementation of mul
Mul( f,i = m..n )
Mul( f,i = x )
Mul( f,i in x )
Mul[ tasksize = s ]( ... )
(optional, posint) maximum task size
The Mul command is a parallel implementation of the mul command. For a complete description of the calling sequence of Mul, see the mul help page.
Mul is implemented using the Task programming model.
Mul attempts to determine how to divide the input into separate tasks to spread the work across all available cores. However in some situations Mul may not choose the optimal size. In particular a small number of long running tasks may not be spread evenly over all threads. In this case, you can specify the maximum task size using the tasksize option. Mul will divide the input into tasks that compute at most tasksize elements within a single task.
L ≔ seq⁡i,i=1..5
Download Help Document