Parallel calculations: Difference between revisions

m
(Added Kotlin)
Line 1,271:
=={{header|PARI/GP}}==
See [http://pari.math.u-bordeaux1.fr/Events/PARI2012/talks/pareval.pdf Bill Allombert's slides on parallel programming in GP]. This can be configured to use either MPI (good for many networked computers) or pthreads (good for a single machine).
{{works with|PARI/GP|2.6 with bill-pareval branch.2+}}
<lang parigp>v=pareval(vector(1000,i,()->factor(2^i+1)[1,1]));
vecmin(v)</lang>