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 \kbd{f} on the elements of \kbd{x}. The function \kbd{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.