Template:PARI/GP select

From Rosetta Code
Revision as of 20:43, 7 May 2011 by rosettacode>CRGreathouse (template for select())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Works with: PARI/GP version 2.4.3 and above
This code uses the select() function, which was added in PARI version 2.4.2. The order of the arguments changed between versions; to use in 2.4.2 change select(function, vector) to select(vector, function).