Function: parapply
Section: programming/parallel
C-Name: parapply
Prototype: GG
Help: parapply(f,x): parallel evaluation of f on the elements of x.
Doc: parallel evaluation of $f$ on the elements of $x$.
 The function $f$ must not access global variables or variables
 declared with local(), and must be free of side effects.
 \bprog
 parapply(factor,[2^256 + 1, 2^193 - 1])
 @eprog
 factors $2^{256} + 1$ and $2^{193} - 1$ in parallel.
 \bprog
 {
   my(E = ellinit([1,3]), V = vector(12,i,randomprime(2^200)));
   parapply(p->ellcard(E,p), V)
 }
 @eprog
 computes the order of $E(\F_{p})$ for $12$ random primes of $200$ bits.

Function: _parapply_slice_worker
Section: programming/internals
C-Name: parapply_slice_worker
Prototype: GG
Help: _parapply_slice_worker(v,C): return [C(x) | x<-v].
